Hi All,
I'm using the datastax sink connector 1.4.0 with confluent cloud kafka to write data to a cassandra database. I am running the sink connector in standalone mode using the cp-all-in-one docker image and passing configuration through environment variables.
The topic names I'm using in confluent kafka contain periods ("."). I know that periods are used as a delimiter to separate the topic name, keyspace, and table name in the mapping of the connectors configuration.
Assuming:
Topic name is "enviro.raw.wind".
Keyspace name is "enviro".
Table name is "raw_wind".
My mapping would be:
topic.enviro.raw.wind.enviro.raw_wind.mapping=<mapping>
Running it understandably produces an error as the underlying code would be unsure on what period character to delimit.
java.lang.IllegalArgumentException: The setting: topic.enviro.raw.wind.enviro.raw_wind.mapping does not match topic.keyspace.table nor topic.codec regular expression pattern
I'm suspecting this might be a bug and one that is not easily solved without changing the structure/delimit of the datastax configuration. If that is the case I can probably change my topic names without much trouble. At the very least I thought it would be worth documenting this behaviour and hopefully confirming that this is a known issue for anyone else having this problem, as I couldn't find any mention of this limitation in forums or documentation.
Thanks.