Skip to content

Default KinesisClientLibConfiguration causes an NPE in the KCL when null is passed as billing mode #173

@sean-madden

Description

@sean-madden

The KclMessageDrivenChannelAdapter.java:296 attempts to initialize a new KinesisClientLibConfiguration with a null value passed for BillingMode. This causes an NPE in the Kinesis Client Library when attempting to setup the dynamoDB table:
https://github.com/awslabs/amazon-kinesis-client/blob/v1.13.3/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java#L139

I think KinesisClientLibConfiguration.DEFAULT_DDB_BILLING_MODE should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions