josh-fell commented on PR #25436:
URL: https://github.com/apache/airflow/pull/25436#issuecomment-1211461946

   > > > > Just thinking, overwriting the existing topic is kind of update 
operation right ?
   > > > 
   > > > 
   > > > Sure, depending on how Azure Service Bus management operates and/or if 
someone wanted to patch a particular attribute (if that's even possible). What 
if you wanted to completely rebuild the topic? Yes, you could check to see if 
it exists, delete it, and then rebuild it, but I was thinking some analogous 
feature to file operations.
   > > > I'm not saying it _should_ or even _can_ be done. I haven't been used 
ASB in a long time. Just tossing spaghetti to see if it sticks. You can tell me 
to go back to my corner and it could be something for the future (or never) 
maybe.
   > > 
   > > 
   > > Yes, there is an Option to patch/update the Topic, I was planning to add 
update topic operator as next future operator. on that the user can update 
whatever attribute they want(which is allowed to update).
   > > Even I need suggestion this create topic operator should be.
   > > 
   > > 1. Only create and if it exists just return it ?
   > > 2. Create the topic, if it exists delete it and create with new 
properties?
   > 
   > @josh-fell
   
   I think option 1 is fine for now. If users find that indeed having option 2 
would be helpful, they are more than welcome to log a feature or submit a PR 
adding the functionality. Thinking about my suggestion, it was a little much 
and out of scope for the initial creation of these operators.


-- 
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]

Reply via email to