mhart / kinesalite

An implementation of Amazon's Kinesis built on LevelDB
MIT License
808 stars 86 forks source link

kinesis object read from stream have different capitalization than Kinesis #114

Open ildella opened 3 years ago

ildella commented 3 years ago

Hi.

I noticed that when receiving a Kinesis Record, they are wrapped like this:

  Records: [
    {
      kinesis: {
        partitionKey,
        data,
      }
    }
  ]

But when I read them from a Kinesalite stream, both PartitionKey and Data have capital case.