Skip to content

Commit

Permalink
Set new default timeout to 3 minutes / 180 seconds based on the metri…
Browse files Browse the repository at this point in the history
…cs data from `consumer_records_producing_to_write_buffer_latency`. 📬
  • Loading branch information
KaiSernLim committed Oct 9, 2024
1 parent eb549a5 commit 03ba493
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public abstract class KafkaConsumerService extends AbstractKafkaConsumerService
/**
* Waiting for the next poll() after unsubscribing, indicating that all previous inflight messages were processed
*/
public static final long DEFAULT_WAIT_AFTER_UNSUBSCRIBE_TIMEOUT_MS = TimeUnit.MINUTES.toMillis(5);
public static final long DEFAULT_WAIT_AFTER_UNSUBSCRIBE_TIMEOUT_MS = TimeUnit.MINUTES.toMillis(3);
/**
* A shorter timeout wait during shutdown / termination to avoid blocking the shutdown process
*/
Expand Down

0 comments on commit 03ba493

Please sign in to comment.