Package | Description |
---|---|
org.apache.twill.kafka.client |
This package provides Kafka client interfaces.
|
Modifier and Type | Method and Description |
---|---|
KafkaPublisher.Preparer |
KafkaPublisher.Preparer.add(ByteBuffer message,
Object partitionKey)
Adds the given message to the message set, partitioned with the given partition key.
|
KafkaPublisher.Preparer |
KafkaPublisher.prepare(String topic)
Prepares to publish to a given topic.
|
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.