use of org.apache.flink.streaming.connectors.kinesis.proxy.FullJitterBackoff in project flink by apache.
the class StreamConsumerRegistrarUtil method createStreamConsumerRegistrar.
private static StreamConsumerRegistrar createStreamConsumerRegistrar(final Properties configProps, final List<String> streams) {
FullJitterBackoff backoff = new FullJitterBackoff();
FanOutRecordPublisherConfiguration configuration = new FanOutRecordPublisherConfiguration(configProps, streams);
KinesisProxyV2Interface kinesis = KinesisProxyV2Factory.createKinesisProxyV2(configProps);
return new StreamConsumerRegistrar(kinesis, configuration, backoff);
}
Aggregations