-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Removing Inner structs in cpp client #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add standard header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Standard header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
standard header
55a89ab to
70bae90
Compare
merlimat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Signed-off-by: jonyhy96 <hy352144278@gmail.com> Fixes apache#257 ### Motivation Once the connection is closed the reconnectToBroker logic of both producer and consumer will try to reconnect to the broker infinatly. ### Modifications Add a field in the Options represent the max number of retries and not break current behavior if this field is not fullfilled.
* Add maintainers from community * Fix indent
Motivation
Want to remove the deprecation flags, methods and -Dpulsar=cms and create a wrapper for Yahoo CPP users like we have for Java.
Since in CPP we can’t forward declare inner classes I can’t forward declare pulsar::ProducerConfiguration::Impl And add it to my wrapper i.e https://gist.github.com/jai1/9bfa90ee237a9e2ca7a175e893cf4faa is not possible - hence the changes.
Modifications
Created separate files for
a. ClientConfiguration.h
b. ProducerConfiguration.h
c. ConsumerConfiguration.h
d. CompressionType.h
Created Separate Impl for
a. ClientConfigurationImpl.h
b. ProducerConfigurationImpl.h
c. ConsumerConfigurationImpl.h
Removed deprecated flags and methods from client
Result
Noop from user perspective and the binary compatibility is also not broken.