Patrik Márton created ATLAS-4620:
------------------------------------

             Summary: Remove EmbeddedKafkaServer from compile dependencies in 
Atlas notification module
                 Key: ATLAS-4620
                 URL: https://issues.apache.org/jira/browse/ATLAS-4620
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Patrik Márton


Goal is to break the strong coupling between Atlas components and Kafka. These 
dependencies include using server side libraries of Kafka (this couples the 
Scala version and other non-public interfaces of Kafka). Any code using server 
side libraries of Kafka should be refactored.

The notification module uses an EmbeddedKafkaServer which brings in the core 
kafka dependency. Based on the usage in the source, it is only used during 
testing, but pulled in as a compile dependency. 

If there is a way to avoid using this embedded kafka server for other reasons 
(eg. development), this can be moved to the test folder and pulled in as a test 
scope dependency. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to