Amazon Managed Streaming for Apache Kafka extension package.
Tested with ThingWorx 9.3.5 and AWS MSK with public access enabled. Authenticates via plain username + password over SASL / SCRAM. This extension can be used for implementing prototypes and demos.
WARNING: Please do not use it in production, the quality is not there yet
- Import the extension (see Releases)
- Create two Things based on
ConsumerTemplate
andProducerTemplate
- Configure those things with your access details. Note that your Consumer thing takes a comma-separated list of topics and will subscibe to all of them. The
topics
andgroupId
configuration parameters are ignored for Producers. - Subscribe to Consumer's
DataReceived
event - Use Producer's
Send
service to send data
- The fact that consumer starts a thread makes it likely incompatible with the clustered mode, although I didn't try that.
- All payloads get (de)serialized from/to
String
. - Transactional mode is not implemented.
- The messages are sent one-by-one, there's no batching.
- The code needs to be de-duped.
- There's no build script.