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
Using the C++ Producer api (version 2.1.1), I see one produce() method that supports passing a RdKafka::Headers pointer, but it does not support passing a RdKafka::Topic pointer as well (it requires a std:string topic_name instead). I need to pass a RdKafka::Topic pointer because that topic object has topic configuration parameters set. Am I missing something in the api? If not, what is the easiest workaround? Thanks.
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
-
Using the C++ Producer api (version 2.1.1), I see one produce() method that supports passing a RdKafka::Headers pointer, but it does not support passing a RdKafka::Topic pointer as well (it requires a std:string topic_name instead). I need to pass a RdKafka::Topic pointer because that topic object has topic configuration parameters set. Am I missing something in the api? If not, what is the easiest workaround? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions