Class KafkaDocumentDestination<T>
java.lang.Object
no.mnemonic.messaging.documentchannel.kafka.KafkaDocumentDestination<T>
- Type Parameters:
T
- document type
- All Implemented Interfaces:
AutoCloseable
,DocumentDestination<T>
Kafka version of a document channel destination, which writes the document to a configured
Kafka topic. The channel supports String or byte array documents.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> KafkaDocumentDestination.Builder<T>
builder()
void
close()
-
Method Details
-
getDocumentChannel
- Specified by:
getDocumentChannel
in interfaceDocumentDestination<T>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDocumentDestination<T>
-
builder
-