Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use dynamic keyspace? #47

Open
tunix opened this issue May 20, 2021 · 1 comment
Open

Is it possible to use dynamic keyspace? #47

tunix opened this issue May 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tunix
Copy link

tunix commented May 20, 2021

Hi,

I've a multi-tenant application. I want to read messages from a single Kafka topic and split messages across different scylladb keyspaces based on a field inside the Kafka message.

Does the connector support this? If not, would you consider supporting it?

@avelanarius
Copy link

Currently, it is not supported.

As a workaround, assuming the number of destination keyspaces is small and fixed, you could launch N instances of Sink Connector (each one writing to a specific keyspace) and use a Filter (Confluent version) SMT transformation on each connector instance to filter the messages to a correct keyspace.

We will consider adding this feature in the future.

@avelanarius avelanarius added the enhancement New feature or request label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants