I am trying to use Kinesis, which expects data in byte buffer format. All the examples I have seen so …