Skip to content

Commit

Permalink
Fix serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Meisel committed Jan 23, 2025
1 parent 5e6695b commit cf5512a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import software.amazon.kinesis.common.LeaseCleanupConfig
import software.amazon.kinesis.leases.LeaseManagementConfig
import software.amazon.kinesis.leases.dynamodb.DynamoDBLeaseManagementFactory
import software.amazon.kinesis.leases.dynamodb.DynamoDBLeaseSerializer
import software.amazon.kinesis.leases.dynamodb.DynamoDBMultiStreamLeaseSerializer
import software.amazon.kinesis.processor.StreamTracker
import software.amazon.kinesis.retrieval.polling.PollingConfig

Expand Down Expand Up @@ -78,7 +79,8 @@ object LocalstackKCLConsumer {
defaultLeaseManagement.leaseTableDeletionProtectionEnabled(),
defaultLeaseManagement.leaseTablePitrEnabled(),
defaultLeaseManagement.tags(),
new DynamoDBLeaseSerializer(),
if (isMultiStream) new DynamoDBMultiStreamLeaseSerializer()
else new DynamoDBLeaseSerializer(),
defaultLeaseManagement.customShardDetectorProvider(),
isMultiStream,
LeaseCleanupConfig
Expand Down

0 comments on commit cf5512a

Please sign in to comment.