bharanidharan14 commented on PR #25436: URL: https://github.com/apache/airflow/pull/25436#issuecomment-1204776480
> What is the behaviour if the topic you try to create already exists? I'm assuming the underlying hook would fail with an exception, but I think the operator should catch that error so that the operator can be used idempotently: i.e. we should think of the job of this operator to ensure that the specific topic exists. (Similarly for delete operator) yes the existing flow will through an error if the topic name exists, Now I have add `try catch` if the topic name exists and return the existing topic name with failing the operator -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
