public class KafkaHandler
extends org.swisspush.gateleen.core.configuration.ConfigurationResourceConsumer
KafkaProducer based on the kafka configuration resource| Constructor and Description |
|---|
KafkaHandler(org.swisspush.gateleen.core.configuration.ConfigurationResourceManager configurationResourceManager,
KafkaProducerRepository repository,
KafkaMessageSender kafkaMessageSender,
String configResourceUri,
String streamingPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(io.vertx.core.http.HttpServerRequest request) |
io.vertx.core.Future<Void> |
initialize() |
boolean |
isInitialized() |
void |
resourceChanged(String resourceUri,
io.vertx.core.buffer.Buffer resource) |
void |
resourceRemoved(String resourceUri) |
public KafkaHandler(org.swisspush.gateleen.core.configuration.ConfigurationResourceManager configurationResourceManager,
KafkaProducerRepository repository,
KafkaMessageSender kafkaMessageSender,
String configResourceUri,
String streamingPath)
public io.vertx.core.Future<Void> initialize()
public boolean isInitialized()
public boolean handle(io.vertx.core.http.HttpServerRequest request)
public void resourceChanged(String resourceUri, io.vertx.core.buffer.Buffer resource)
public void resourceRemoved(String resourceUri)
Copyright © 2016–2020. All rights reserved.