When we are using Kinesis with 1 shard then it works fine. But when we use more that 1 then it falls into an infinite loop and no data is processed by the spark streaming. In the kinesis dynamo DB, I can see that it keeps increasing the leaseCounter. But it do start processing.
I am using,
java version: 1.8.0_25
Lead Software Engineer
Check out The Academy, your #1 source
for free content marketing resources