public class Producer extends BaseVerticle
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RELAY_PRODUCER_TOPICS_UPDATE |
addresses, ADDRESSES, BOOTSTRAP_SERVERS, bServers, CLIENT_ID, END_KAFAK, KAFAK, KFK_BSERVERS| Constructor and Description |
|---|
Producer(java.util.List<java.lang.String> bServers) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(io.vertx.core.Future<java.lang.Void> startFuture) |
void |
stop(io.vertx.core.Future<java.lang.Void> stopFuture) |
loadConfig, updateBServers, updateConfigpublic static final java.lang.String RELAY_PRODUCER_TOPICS_UPDATE
public void start(io.vertx.core.Future<java.lang.Void> startFuture)
throws java.lang.Exception
start in interface io.vertx.core.Verticlestart in class io.vertx.core.AbstractVerticlejava.lang.Exceptionpublic void stop(io.vertx.core.Future<java.lang.Void> stopFuture)
throws java.lang.Exception
stop in interface io.vertx.core.Verticlestop in class io.vertx.core.AbstractVerticlejava.lang.Exception