Skip to content

Commit

Permalink
Add note about AWS_CBOR_DISABLE env variable
Browse files Browse the repository at this point in the history
Thanks to @schickling for the suggestion
  • Loading branch information
mhart authored Jul 25, 2016
1 parent 4490ad8 commit c7a2470
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ var kinesis = require('kinesis')
kinesis.listStreams({host: 'localhost', port: 4567}, console.log)
```

### CBOR protocol issues with the Java SDK

The Java AWS SDK recently changed their Kinesis client to default to the [CBOR protocol](http://cbor.io/), which kinesalite doesn't support – you may see an error like this:
```
com.amazonaws.AmazonServiceException: Unable to parse HTTP response content (Service: AmazonKinesis; Status Code: 404; Error Code: null;
```

You can set the `AWS_CBOR_DISABLE` environment variable to disable this (any value should work, eg `true` or `1`) before invoking any of the Kinesis calls in the Java SDK.

Installation
------------

Expand Down

0 comments on commit c7a2470

Please sign in to comment.