scylladb / kafka-connect-scylladb

Kafka Connect Scylladb Sink
Apache License 2.0
42 stars 22 forks source link

converting date time for topics #11

Open mailmahee opened 4 years ago

mailmahee commented 4 years ago

The options for supporting locale, timezone and timestamp temporal pattern are not supported currently in Scylla sink, maybe we can address them at a future point in time.

topic.topic_name.codec.locale=en_US topic.topic_name.codec.timeZone=UTC topic.topic_name.codec.timestamp=CQL_TIMESTAMP

tarzanek commented 4 years ago

as per https://docs.scylladb.com/getting-started/types/#working-with-timestamps scylla supports mainly https://en.wikipedia.org/wiki/ISO_8601 so this should be the default codec (and hardcoded of course up until scylla supports more)