AWS Kinesis Producer Library may be configured to aggregate records before sending to AWS Kinesis Stream. For example we may set:
final KinesisProducerConfiguration config = new KinesisProducerConfiguration();
config.setRecordMaxBufferedTime(1000);
config.setAggregationMaxCount(100);
config.setRegion("eu-west-1");
return config;
Is this buffer only in memory or is it saved on the file system? Mostly, I would like to know, if the current buffer is lost when the producer node is restarted.