MAX_TIME_BETWEEN_REQUEST_RESPONSE can be changed by the user
fixes #1051
This commit is contained in:
parent
70cfc7d7ce
commit
831bc572ea
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ import software.amazon.kinesis.retrieval.RecordsPublisher;
|
|||
@KinesisClientInternalApi
|
||||
public class ShardConsumer {
|
||||
|
||||
public static final int MAX_TIME_BETWEEN_REQUEST_RESPONSE = 60 * 1000;
|
||||
public static final int MAX_TIME_BETWEEN_REQUEST_RESPONSE = Integer.parseInt(System.getProperty("software.amazon.kinesis.lifecycle.ShardConsumer.max_time", "60000"));
|
||||
private final RecordsPublisher recordsPublisher;
|
||||
private final ExecutorService executorService;
|
||||
private final ShardInfo shardInfo;
|
||||
|
|
|
|||
Loading…
Reference in a new issue