List of usage examples for com.amazonaws.services.kinesis AmazonKinesis ENDPOINT_PREFIX
String ENDPOINT_PREFIX
To view the source code for com.amazonaws.services.kinesis AmazonKinesis ENDPOINT_PREFIX.
Click Source Link
From source file:zipkin.sparkstreaming.stream.kinesis.KinesisStreamFactory.java
License:Apache License
KinesisStreamFactory(Builder builder) {
this.stream = builder.stream;
this.app = builder.app;
this.regionName = builder.awsRegion;
this.endpoint = builder.awsEndpoint != null ? builder.awsEndpoint
: Region.getRegion(Regions.fromName(regionName)).getServiceEndpoint(AmazonKinesis.ENDPOINT_PREFIX);
this.checkpointInterval = builder.checkpointInterval;
this.initialPositionInStream = builder.initialPositionInStream;
this.storageLevel = builder.storageLevel;
this.awsAccessKeyId = builder.awsAccessKeyId;
this.awsSecretKey = builder.awsSecretKey;
}