karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4605) Kafka Collector uses the same topic for eventadmin and kafka
Date Mon, 04 Jul 2016 12:36:11 GMT
Christian Schneider created KARAF-4605:
------------------------------------------

             Summary: Kafka Collector uses the same topic for eventadmin and kafka
                 Key: KARAF-4605
                 URL: https://issues.apache.org/jira/browse/KARAF-4605
             Project: Karaf
          Issue Type: Bug
          Components: decanter
    Affects Versions: decanter-1.1.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: decanter-1.1.1


The same property "topic" is used for kafka and EventAdmin.
topic = getValue(properties, "topic", "decanter");

kafka:
consumer.subscribe(Arrays.asList(topic));

EventAdmin:
Event event = new Event("decanter/collect/kafka/" + topic, data);

We need two different properties here so they can be configured to different topics.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message