public interface Producer
Modifier and Type | Method and Description |
---|---|
static Producer |
get(boolean isLocal) |
static Producer |
get(Properties configuration) |
void |
produceSync(String topicName,
String key,
Message object) |
<T> void |
produceSync(String topicName,
String key,
ResultMessage<T> object) |
void |
start(Properties properties) |
void |
stop() |
void start(Properties properties)
void stop()
<T> void produceSync(String topicName, String key, ResultMessage<T> object)
static Producer get(Properties configuration)
static Producer get(boolean isLocal)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.