public class KinesisProxyFactory extends Object implements IKinesisProxyFactory
| Constructor and Description |
|---|
KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
com.amazonaws.services.kinesis.AmazonKinesis client)
This constructor may be used to specify the AmazonKinesisClient to use.
|
KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
com.amazonaws.ClientConfiguration clientConfig,
String endpoint)
Constructor for KinesisProxy factory using the client configuration to use when interacting with Kinesis.
|
KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
String endpoint)
Constructor for creating a KinesisProxy factory, using the specified credentials provider and endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
IKinesisProxy |
getProxy(String streamName)
Return an IKinesisProxy object for the specified stream.
|
public KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
String endpoint)
credentialProvider - credentials provider used to sign requestsendpoint - Amazon Kinesis endpoint to usepublic KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
com.amazonaws.ClientConfiguration clientConfig,
String endpoint)
credentialProvider - credentials provider used to sign requestsclientConfig - Client Configuration used when instantiating an AmazonKinesisClientendpoint - Amazon Kinesis endpoint to usepublic KinesisProxyFactory(com.amazonaws.auth.AWSCredentialsProvider credentialProvider,
com.amazonaws.services.kinesis.AmazonKinesis client)
credentialProvider - credentials provider used to sign requestsclient - AmazonKinesisClient used to fetch data from Kinesispublic IKinesisProxy getProxy(String streamName)
getProxy in interface IKinesisProxyFactorystreamName - Stream from which data is consumed.Copyright © 2017. All rights reserved.