public interface KafkaPublisher
Modifier and Type | Interface and Description |
---|---|
static class |
KafkaPublisher.Ack
Represents the desired level of publish acknowledgment.
|
static interface |
KafkaPublisher.Preparer
A Preparer for preparing to publish messages to a given topic.
|
Modifier and Type | Method and Description |
---|---|
KafkaPublisher.Preparer |
prepare(String topic)
Prepares to publish to a given topic.
|
KafkaPublisher.Preparer prepare(String topic)
topic
- Name of the topic.KafkaPublisher.Preparer
to prepare for publishing.Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.