frankvicky commented on code in PR #17946:
URL: https://github.com/apache/kafka/pull/17946#discussion_r1905476456
##########
docs/upgrade.html:
##########
@@ -202,6 +202,8 @@ <h5><a id="upgrade_400_notable"
href="#upgrade_400_notable">Notable changes in 4
</li>
<li>The deprecated
<code>sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>,
String)</code> method has been removed from the Producer API.
</li>
+ <li>The <code>flush</code> method now detects
potential deadlocks and prohibits its use inside a callback. This change
prevents unintended blocking behavior, which was a known risk in earlier
versions.
Review Comment:
I have applied the suggestion. Here is the preview:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]