presto-kinesis/src/main/java/io/prestosql/plugin/kinesis/KinesisSessionProperties.java/KinesisSessionProperties/getMaxBatches
class KinesisSessionProperties:    public static int getMaxBatches(ConnectorSession session)
    {
        return session.getProperty(MAX_BATCHES, Integer.class);
    }