File tree 1 file changed +5
-5
lines changed
spring-kafka/src/main/java/org/springframework/kafka/listener/config
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 46
46
*/
47
47
public class ContainerProperties {
48
48
49
- private static final long DEFAULT_POLL_TIMEOUT = 1000L ;
49
+ public static final long DEFAULT_POLL_TIMEOUT = 1000L ;
50
50
51
- private static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000 ;
51
+ public static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000 ;
52
52
53
- private static final int DEFAULT_MONITOR_INTERVAL = 30 ;
53
+ public static final int DEFAULT_MONITOR_INTERVAL = 30 ;
54
54
55
- private static final float DEFAULT_NO_POLL_THRESHOLD = 3f ;
55
+ public static final float DEFAULT_NO_POLL_THRESHOLD = 3f ;
56
56
57
57
/**
58
58
* Topic names.
@@ -270,7 +270,7 @@ public void setConsumerTaskExecutor(AsyncListenableTaskExecutor consumerTaskExec
270
270
/**
271
271
* Set the timeout for shutting down the container. This is the maximum amount of
272
272
* time that the invocation to {@code #stop(Runnable)} will block for, before
273
- * returning.
273
+ * returning; default {@value #DEFAULT_SHUTDOWN_TIMEOUT} .
274
274
* @param shutdownTimeout the shutdown timeout.
275
275
*/
276
276
public void setShutdownTimeout (long shutdownTimeout ) {
You can’t perform that action at this time.
0 commit comments