snowplow-archive / kinesis-example-scala-producer

Example Scala/SBT event producer for Amazon Kinesis
http://snowplowanalytics.com
21 stars 11 forks source link

Add synchronize to work around Thrift de/serialization not being multithreaded #10

Closed alexanderdean closed 10 years ago

alexanderdean commented 10 years ago

See: https://github.com/snowplow/snowplow/commit/071a76aea3115441601ed7a53129edaecab65f5e#commitcomment-5086860

bamos commented 10 years ago
kinesis/producer [master] » ack 'serialize' 
StreamProducer.scala
224:      data = ByteBuffer.wrap(thriftSerializer.serialize(streamData))
alexanderdean commented 10 years ago

Nice, thanks!