Class KinesisConfig


  • public class KinesisConfig
    extends Object
    Kinesis stream specific config
    • Field Detail

      • IAM_ROLE_BASED_ACCESS_ENABLED

        public static final String IAM_ROLE_BASED_ACCESS_ENABLED
        Enable Role based access to AWS. iamRoleBasedAccessEnabled - Set it to `true` to enable role based access, default: false roleArn - Required. specify the ARN of the role the client should assume. roleSessionName - session name to be used when creating a role based session. default: pinot-kineis-uuid externalId - string external id value required by role's policy. default: null sessionDurationSeconds - The duration, in seconds, of the role session. Default: 900 asyncSessionUpdateEnabled - Configure whether the provider should fetch credentials asynchronously in the background. If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider. Default - `true`
        See Also:
        Constant Field Values
      • DEFAULT_SHARD_ITERATOR_TYPE

        public static final String DEFAULT_SHARD_ITERATOR_TYPE
      • DEFAULT_IAM_ROLE_BASED_ACCESS_ENABLED

        public static final String DEFAULT_IAM_ROLE_BASED_ACCESS_ENABLED
        See Also:
        Constant Field Values
      • DEFAULT_ASYNC_SESSION_UPDATED_ENABLED

        public static final String DEFAULT_ASYNC_SESSION_UPDATED_ENABLED
        See Also:
        Constant Field Values
    • Constructor Detail

      • KinesisConfig

        public KinesisConfig​(StreamConfig streamConfig)
    • Method Detail

      • getStreamTopicName

        public String getStreamTopicName()
      • getAwsRegion

        public String getAwsRegion()
      • getNumMaxRecordsToFetch

        public int getNumMaxRecordsToFetch()
      • getShardIteratorType

        public software.amazon.awssdk.services.kinesis.model.ShardIteratorType getShardIteratorType()
      • getAccessKey

        public String getAccessKey()
      • getSecretKey

        public String getSecretKey()
      • getEndpoint

        public String getEndpoint()
      • isIamRoleBasedAccess

        public boolean isIamRoleBasedAccess()
      • getRoleArn

        public String getRoleArn()
      • getRoleSessionName

        public String getRoleSessionName()
      • getExternalId

        public String getExternalId()
      • getSessionDurationSeconds

        public int getSessionDurationSeconds()
      • isAsyncSessionUpdateEnabled

        public boolean isAsyncSessionUpdateEnabled()