Neha Sinha created METRON-279:
---------------------------------

             Summary: Multiple metron_kafka roles available in metron 
deployment directory
                 Key: METRON-279
                 URL: https://issues.apache.org/jira/browse/METRON-279
             Project: Metron
          Issue Type: Bug
    Affects Versions: 0.2.1BETA
            Reporter: Neha Sinha
            Priority: Minor
             Fix For: 0.2.1BETA


Hi,

There are two roles available that try to accomplish the task of creating 
default kafka topics:-
-metron-kafka
-metron_kafka_topics
 
We would need to purge one of them.

The main.yml file for metron_kafka_topics has the following entries :-
topics_to_create:
  - { topic: "pcap",        num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "bro",         num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "yaf",         num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "snort",       num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "enrichments", num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }

Whereas main.yml file for metron_kafka has the following entries :-
topics_to_create:
- { topic: "pcap",        num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "bro",         num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "yaf",         num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "parser_invalid",         num_partitions: 1, replication_factor: 
1, retention_gb: 10 }
  - { topic: "parser_error",         num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "snort",       num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }
  - { topic: "enrichments", num_partitions: 1, replication_factor: 1, 
retention_gb: 10 }

So particularly  i see the topics "parser_error" and "parser_invalid" missing in
metron_kafka_topics/main.yml file.

Regards,
Neha



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

Reply via email to