difin commented on code in PR #4082:
URL: https://github.com/apache/hive/pull/4082#discussion_r1118766580
##########
kafka-handler/src/java/org/apache/hadoop/hive/kafka/KafkaStorageHandler.java:
##########
@@ -310,7 +311,7 @@ private String getQueryId() {
RetryUtils.CleanupAfterFailure cleanUpTheMap = new
RetryUtils.CleanupAfterFailure() {
@Override public void cleanup() {
- producersMap.forEach((s, producer) -> producer.close(0,
TimeUnit.MILLISECONDS));
+ producersMap.forEach((s, producer) ->
producer.close(Duration.ofMillis(TimeUnit.MILLISECONDS.toMillis(0))));
Review Comment:
Makes sense, fixed.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]