You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Patrik Márton (Jira)" <ji...@apache.org> on 2022/08/31 09:42:00 UTC

[jira] [Updated] (ATLAS-4620) Refactor EmbeddedKafkaServer in Atlas notification module to remove core kafka dependency

     [ https://issues.apache.org/jira/browse/ATLAS-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrik Márton updated ATLAS-4620:
---------------------------------
    Summary: Refactor EmbeddedKafkaServer in Atlas notification module to remove core kafka dependency  (was: Remove EmbeddedKafkaServer from compile dependencies in Atlas notification module)

> Refactor EmbeddedKafkaServer in Atlas notification module to remove core kafka dependency
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4620
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4620
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Patrik Márton
>            Assignee: 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. 
> 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.10#820010)