apache / openwhisk-package-kafka

Apache OpenWhisk package for communicating with Kafka or Message Hub
https://openwhisk.apache.org/
Apache License 2.0
32 stars 43 forks source link

remove assumption that partitions will be non-empty when passed into callbacks #243

Closed abaruni closed 6 years ago

abaruni commented 6 years ago

i made a very bad assumption that the list of TopicPartitions passed into the assign and revoke callbacks would be nonempty. this is causing uncaught exception and consumer restart. i've removed this assumption. didn't need it anyway. it was used just for logging, but there was no useful information contained within

abaruni commented 6 years ago

@dubeejw could you have a look