-
Notifications
You must be signed in to change notification settings - Fork 659
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
Deprecate channel based clients #894
Deprecate channel based clients #894
Conversation
Does this need a changelog.md entry despite the fact that these were deprecated earlier? |
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.
Please also add deprecation warnings to the examples README and the deprecated examples themselves, as needed
Add a CHANGELOG entry to formally deprecate the channel based producer and consumer. |
af58728
to
709fe43
Compare
Emanuele has already moved the channel based examples into a legacy folder inside examples/ and made the required changes to legacy/README.md Also - just to clarify this, Producer's Events() channel/deliveryChan in Produce() method is not being deprecated, right? Only ProduceChannel of the producer, and the Events() channel of the consumer is being deprecated? |
709fe43
to
15e7e1e
Compare
Yep, that's correct |
a6c9066
to
4a16037
Compare
Adds Deprecated: to the godoc for ProduceChannel, and consumer's Event method. Adds BUG: to the godoc for Flush and Len to emphasize they don't play well with ProduceChannel. Change examples and changelog.
4a16037
to
5006f4d
Compare
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.
LGTM
Adds Deprecated: to the godoc for ProduceChannel, and consumer's Event method. Adds BUG: to the godoc for Flush and Len to emphasize they don't play well with ProduceChannel. Change examples and changelog.
Adds Deprecated: to the godoc for ProduceChannel, and consumer's Event method.
Adds BUG: to the godoc for Flush and Len to emphasize they don't play well with ProduceChannel.