-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
KAFKA-7778: document scala suppress API #6586
KAFKA-7778: document scala suppress API #6586
Conversation
@guozhangwang @casey-green , do you mind taking a quick look at this doc? |
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, thanks!
@@ -71,6 +71,7 @@ <h1>Upgrade Guide and API Changes</h1> | |||
</p> | |||
|
|||
<h3><a id="streams_api_changes_230" href="#streams_api_changes_230">Streams API changes in 2.3.0</a></h3> | |||
<p>Version 2.3.0 adds the Suppress operator to the <code>kafka-streams-scala</code> Ktable API.</p> |
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.
Should we also mention the added EagerBufferConfig
as well?
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.
I left it out intentionally; I think that it's unnecessary detail, which would make the guide more cumbersome without adding value.
The reason is that this change doesn't have any effect on the code that people have written or will write. Specifically, the return type of BufferConfig.emitEarlyWhenFull()
used to be BufferConfig<?>
, and now it's EagerBufferConfig extends BufferConfig<?>
, and both are applicable in exactly the same case: Suppressed.untilTimeLimit(BufferConfig)
, and not Suppressed.untilWindowCloses(StrictBufferConfig)
.
At the most, it's a change that people may notice in passing, but they can read the javadocs if they're curious. It shouldn't materially affect their lives in any way.
Document the minor API change. Reviewers: Casey Green <greenc421@gmail.com>, Guozhang Wang <wangguoz@gmail.com>, Bill Bejeck <bbejeck@gmail.com>
Document the minor API change.
Committer Checklist (excluded from commit message)