public static final class KafkaEgressMessage.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
EgressMessage |
build() |
KafkaEgressMessage.Builder |
withKey(byte[] key) |
KafkaEgressMessage.Builder |
withKey(Slice slice) |
<T> KafkaEgressMessage.Builder |
withKey(Type<T> type,
T value) |
KafkaEgressMessage.Builder |
withTopic(Slice topic) |
KafkaEgressMessage.Builder |
withTopic(java.lang.String topic) |
KafkaEgressMessage.Builder |
withUtf8Key(java.lang.String key) |
KafkaEgressMessage.Builder |
withUtf8Value(java.lang.String value) |
KafkaEgressMessage.Builder |
withValue(byte[] value) |
KafkaEgressMessage.Builder |
withValue(Slice slice) |
<T> KafkaEgressMessage.Builder |
withValue(Type<T> type,
T value) |
public KafkaEgressMessage.Builder withTopic(java.lang.String topic)
public KafkaEgressMessage.Builder withTopic(Slice topic)
public KafkaEgressMessage.Builder withUtf8Key(java.lang.String key)
public KafkaEgressMessage.Builder withKey(byte[] key)
public KafkaEgressMessage.Builder withKey(Slice slice)
public <T> KafkaEgressMessage.Builder withKey(Type<T> type, T value)
public KafkaEgressMessage.Builder withUtf8Value(java.lang.String value)
public KafkaEgressMessage.Builder withValue(Slice slice)
public <T> KafkaEgressMessage.Builder withValue(Type<T> type, T value)
public KafkaEgressMessage.Builder withValue(byte[] value)
public EgressMessage build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.