Package io.micronaut.configuration.kafka
Class KafkaMessage.Builder<K,V>
java.lang.Object
io.micronaut.configuration.kafka.KafkaMessage.Builder<K,V>
- Type Parameters:
K- The key typeV- The value type
- Enclosing class:
- KafkaMessage<K,
V>
The message builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static <T,F> KafkaMessage.Builder<T, F> withBody(F body) static <T,F> KafkaMessage.Builder<T, F>
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withBody
-
withoutBody
-
topic
-
key
-
body
-
header
-
partition
-
timestamp
-
build
-