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

Fix uncaught exception occurring when reading in a message containing non-unicode bytes #247

Closed abaruni closed 6 years ago

abaruni commented 6 years ago

also, some doc updates and test updates

abaruni commented 6 years ago

could not find a way to effectively create a scala test for this. i can test manually and verify the change works. i've attempted to create a python action to write non-unicode message to kafka. problem is that the non-unicode bytes get escaped when reading in the file while creating the action. manually invoking the action works. but i don't see away around the encoding and escaping/replacing that java/scala do. perhaps there is a way. i'm just struggling to find it at the moment

abaruni commented 6 years ago

@dubeejw would you mind having a look