You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plan to encapsulate the kafka message consumption callback function, and when the message arrives, call the incoming callback function to notify the user. When the function I encapsulate is called, I always use the low level API to try to create a topic to ensure that the topic can be created if it does not exist, and it will not affect if it already exists. Is this approach feasible and reasonable?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I plan to encapsulate the kafka message consumption callback function, and when the message arrives, call the incoming callback function to notify the user. When the function I encapsulate is called, I always use the low level API to try to create a topic to ensure that the topic can be created if it does not exist, and it will not affect if it already exists. Is this approach feasible and reasonable?
Beta Was this translation helpful? Give feedback.
All reactions