franz
franz
franz
BatchedStream
BatchedStream
DataGen
Gen
Gen
Deserializers
DynamicJson
DynamicJson
LowPriority
implicits
Syntax
DynamicProducer
DynamicProducerSettings
ForeachPublisher
FranzConfig
FranzConfig
FranzContext
FranzContext
GenericRecordToJson
Recipes
SchemaGen
ArrayType
BoolType
DoubleType
IntType
LongType
NullType
NumericType
ObjType
ObjType
StringType
TypeInst
TypeInst
Seed
Seed
SerdeSupport
AvroAsJsonDeserializer
AvroAsJsonSerializer
SerdeSupport
State
State
SupportedType
SupportedType
AsJson
BYTE_ARRAY
JSON
LONG
RECORD
STRING
implicits
franz
/
franz
/
FranzConfig
FranzConfig
final case
class
FranzConfig
(
franzConfig:
Config
)
Companion:
object
Graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
admin
:
ZIO
[
Scope
,
Throwable
,
AdminClient
]
def
adminLayer
:
ZLayer
[
Scope
,
Throwable
,
AdminClient
]
def
asJavaMap
(
config:
Config
):
Map
[
String
,
String
]
def
avroAsJsonSerde
(
isKey:
Boolean
,
namespace:
String
):
Serde
[
Any
,
DynamicJson
]
def
batchedStream
:
Task
[
BatchedStream
]
def
batchedStreamLayer
:
ZLayer
[
Any
,
Throwable
,
BatchedStream
]
def
consumerNamespace
:
String
def
defaultSeed
:
Long
def
deserializer
(
isKey:
Boolean
):
Task
[
Deserializer
[
Any
,
DynamicJson
]]
def
dynamicProducer
:
ZIO
[
Scope
,
Throwable
,
DynamicProducer
]
def
dynamicProducerLayer
:
ZLayer
[
Scope
,
Throwable
,
DynamicProducer
]
def
groupId
(
kafkaConfig:
Config
):
String
def
instantiate
[
A
](
className:
String
):
A
def
kafkaLayer
:
ZLayer
[
Scope
,
Throwable
,
DynamicProducer
&
BatchedStream
&
AdminClient
]
def
kafkaProducerTask
:
ZIO
[
Scope
,
Throwable
,
Producer
]
def
keySerde
[
K
](
keyConfig:
Config
):
Task
[
Serde
[
Any
,
K
]]
def
keyType
(
keyConfig:
Config
):
SupportedType
[
_
]
def
producerNamespace
:
String
def
producerSettings
:
ProducerSettings
def
runSink
[
E1
>:
Throwable
,
Z
](
sink:
=>
ZSink
[
Any
,
E1
,
CommittableRecord
[
DynamicJson
,
DynamicJson
],
Any
,
Z
])(
implicit
trace:
ZTraceElement
):
ZIO
[
Any
,
Any
,
Z
]
def
serdeSupport
:
SerdeSupport
override
def
toString
:
String
Definition Classes
Any
def
typeOf
(
serdeConfig:
Config
,
defaultAvroNamespace:
=>
String
):
SupportedType
[
_
]
def
valueSerde
[
V
](
valueConfig:
Config
):
Task
[
Serde
[
Any
,
V
]]
def
valueType
(
valueConfig:
Config
):
SupportedType
[
_
]
def
withConsumerTopic
(
topic:
String
):
FranzConfig
def
withOverrides
(
conf:
String
,
theRest:
String
*):
FranzConfig
def
withOverrides
(
newConfig:
Config
):
FranzConfig
def
withOverrides
(
newFranzConfig:
FranzConfig
):
FranzConfig
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from:
Product
Concrete fields
val
adminConfig
:
Config
lazy
val
adminSettings
:
AdminClientSettings
val
batchSize
:
Int
val
batchWindow
:
FiniteDuration
val
blockOnCommits
:
Boolean
val
concurrency
:
Int
val
consumerConfig
:
Config
lazy
val
consumerSettings
:
ConsumerSettings
val
producerConfig
:
Config
val
producerTopic
:
String
lazy
val
schemaRegistryClient
:
SchemaRegistryClient
lazy
val
subscription
:
Subscription
val
topic
:
String