Enables creating ProducerMessages with the following syntax.
Enables creating ProducerMessages with the following syntax.
ProducerMessage.multiple[F].of(records, passthrough) ProducerMessage.multiple[F].of(records)
Enables creating ProducerMessages with the following syntax.
Enables creating ProducerMessages with the following syntax.
ProducerMessage.passthrough[F].of(passthrough) ProducerMessage.passthrough[F].withKeyAndValue[K, V].of(passthrough)
Enables creating ProducerMessages with the following syntax.
Enables creating ProducerMessages with the following syntax.
ProducerMessage.passthrough[F].withKeyAndValue[K, V].of(passthrough)
Enables creating ProducerMessages with the following syntax.
Enables creating ProducerMessages with the following syntax.
ProducerMessage.single[F].of(record, passthrough) ProducerMessage.single[F].of(record)
Creates a new ProducerMessage for producing zero or more
ProducerRecord
s, then emitting a ProducerResult with
the results and either specified or Unit
passthrough.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred.
Creates a new ProducerMessage for producing zero or more
ProducerRecord
s, then emitting a ProducerResult with
the results and either specified or Unit
passthrough.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred. This
is useful when the context cannot otherwise be inferred correctly.
This function enables the following syntax.
ProducerMessage.multiple[F].of(records, passthrough) ProducerMessage.multiple[F].of(records)
Creates a new ProducerMessage for producing zero or more
ProducerRecords
s, then emitting a ProducerResult with
the results and Unit
passthrough value.
Creates a new ProducerMessage for producing zero or more
ProducerRecords
s, then emitting a ProducerResult with
the results and specified passthrough value.
Creates a new ProducerMessage for producing exactly zero
ProducerRecord
s, then emitting a ProducerResult with
the specified passthrough value.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred.
Creates a new ProducerMessage for producing exactly zero
ProducerRecord
s, then emitting a ProducerResult with
the specified passthrough value.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred. This
is useful when the context cannot otherwise be inferred correctly.
If needed, the key and value types can be explicitly specified by
also using withKeyAndValue
.
This function enables the following syntax.
ProducerMessage.passthrough[F].of(passthrough) ProducerMessage.passthrough[F].withKeyAndValue[K, V].of(passthrough)
Creates a new ProducerMessage for producing exactly zero
ProducerRecord
s, emitting a ProducerResult with the
specified passthrough value.
Creates a new ProducerMessage for producing exactly one
ProducerRecord
, then emitting a ProducerResult with
the result and either specified or Unit
passthrough.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred.
Creates a new ProducerMessage for producing exactly one
ProducerRecord
, then emitting a ProducerResult with
the result and either specified or Unit
passthrough.
This version allows you to explicitly specify the context F[_]
,
while the key, value, and passthrough types can be inferred. This
is useful when the context cannot otherwise be inferred correctly.
This function enables the following syntax.
ProducerMessage.single[F].of(record, passthrough) ProducerMessage.single[F].of(record)
Creates a new ProducerMessage for producing exactly one
ProducerRecord
, then emitting a ProducerResult with
the result and Unit
passthrough value.
Creates a new ProducerMessage for producing exactly one
ProducerRecord
, then emitting a ProducerResult with
the result and specified passthrough value.