awslabs / amazon-kinesis-client-ruby

A Ruby interface for the Amazon Kinesis Client Library. Allows developers to easily create robust application to process Amazon Kinesis streams in Ruby.
Apache License 2.0
146 stars 55 forks source link

How does one opt-out of enhanced fan out? #40

Closed webandtech closed 6 months ago

webandtech commented 4 years ago

I scanned the example properties file and it didn't seem clear... if I want to use this with the old GetRecords behavior instead of SubscribeToShard, how does one configure the kcl to do that?

jl-gogovapps commented 3 years ago

@webandtech , I had the same question this morning and found my way to this answer: https://github.com/awslabs/amazon-kinesis-client/issues/429#issuecomment-500251216

cbatson commented 3 years ago

In consumer.properties set

# Set to POLLING to disable enhanced fan-out mode
retrievalMode=POLLING