[ https://issues.apache.org/jira/browse/ATLAS-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrik Márton updated ATLAS-4620: --------------------------------- Description: 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. [https://github.infra.cloudera.com/CDH/atlas/blob/cdpd-master/notification/src/main/java/org/apache/atlas/kafka/EmbeddedKafkaServer.java] 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. [https://github.com/apache/atlas/blob/master/notification/src/main/java/org/apache/atlas/kafka/EmbeddedKafkaServer.java] was: 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. https://github.com/apache/atlas/blob/master/notification/src/main/java/org/apache/atlas/kafka/EmbeddedKafkaServer.java > 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 > Priority: Major > > 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. > [https://github.infra.cloudera.com/CDH/atlas/blob/cdpd-master/notification/src/main/java/org/apache/atlas/kafka/EmbeddedKafkaServer.java] > 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. > [https://github.com/apache/atlas/blob/master/notification/src/main/java/org/apache/atlas/kafka/EmbeddedKafkaServer.java] -- This message was sent by Atlassian Jira (v8.20.7#820007)