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

Creating index based on Timestamp doesn't work #745

Open
jliunyu opened this issue Jan 31, 2024 · 0 comments
Open

Creating index based on Timestamp doesn't work #745

jliunyu opened this issue Jan 31, 2024 · 0 comments

Comments

@jliunyu
Copy link

jliunyu commented Jan 31, 2024

I'm trying to creating index monthly, this is the config I have, the connector version I'm using is 10.0.0 and the ES version is 6.8.0, we can't upgrade the ES version for now, so we have to config based on the version we have. the connector is able to read the config, but not the time stamp, index can't be created either. Can some one provide me some help on this?

this is my config

      topics: test
      transforms: Router
      transforms.Router.type: org.apache.kafka.connect.transforms.TimestampRouter
      transforms.Router.timestamp.format: yyyyMM
      log.message.timestamp.type: LogAppendTime
      transforms.Router.topic.format: test-${timestamp}

printed from the log

        transforms = [Router]
	transforms.Router.timestamp.format = yyyyMM
	transforms.Router.topic.format = test-
	transforms.Router.type = class org.apache.kafka.connect.transforms.TimestampRouter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant