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
-
Method Summary
Modifier and TypeMethodDescription@NonNull KafkaMessage.Builder<K,
V> @NonNull KafkaMessage<K,
V> build()
@NonNull KafkaMessage.Builder<K,
V> @NonNull KafkaMessage.Builder<K,
V> @NonNull KafkaMessage.Builder<K,
V> @NonNull KafkaMessage.Builder<K,
V> @NonNull KafkaMessage.Builder<K,
V> static <T,
F> @NonNull KafkaMessage.Builder<T, F> withBody
(F body) static <T,
F> @NonNull KafkaMessage.Builder<T, F>
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withBody
-
withoutBody
-
topic
-
key
-
body
-
header
-
partition
-
timestamp
-
build
-