kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

old topic getting deleted with creation of new topics

csuryac opened this issue · comments

Describe the bug
old topic getting deleted with creation of new topic.
we have a 2 yaml file . in one yaml file we added these two topics DRX.PCT.CLAIM.FINANCE", "DRX.PCT.CLAIM.FINANCE.DEVX , they were created and after that we were try to add one more yaml with differnt topics when we run that it is trying to delete the old topics which wer creted

To Reproduce
Steps to reproduce the behavior:
{
"Operation" : "com.purbon.kafka.topology.actions.topics.CreateTopicAction",
"Topic" : "DRX.ADJUDICATION.CLAIM.MESSAGEFLOW.DEVX",
"Action" : "create"
}
{
"Operation" : "com.purbon.kafka.topology.actions.topics.CreateTopicAction",
"Topic" : "DRX.ADJUDICATION.CLAIM.MESSAGEFLOW",
"Action" : "create"
}
{
"Operation" : "com.purbon.kafka.topology.actions.topics.DeleteTopics",
"topics" : [ "DRX.PCT.CLAIM.FINANCE", "DRX.PCT.CLAIM.FINANCE.DEVX" ]
}

Expected behavior
it should add all all topics which are crated from multiple yamls

Runtime (please complete the following information):

  • OS: Mac M1
  • JVM version: openjdk version "17.0.9" 2023-10-17
    OpenJDK Runtime Environment Homebrew (build 17.0.9+0)
  • Version :julie-ops-4.4.1.jar