com.datasift.dropwizard.kafka.producer.KafkaProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-extra-kafka Show documentation
Show all versions of dropwizard-extra-kafka Show documentation
Dropwizard integration for working with Kafka.
The newest version!
package com.datasift.dropwizard.kafka.producer;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
import java.util.List;
/**
* Interface for {@link Producer} proxies.
*/
public interface KafkaProducer {
public void send(KeyedMessage message);
public void send(List> messages);
public void close();
}