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

Create indices before writing records #261

Closed
wants to merge 2 commits into from

Conversation

Mongey
Copy link

@Mongey Mongey commented Dec 5, 2018

Currently, indices are only created when the connector is opened. If the
destination index is changed by a Single Message Transform, the index
may not exist when the record is being written, and as such will fail
to create a mapping, as the index does not exist.

This patch creates the index, after the message has been transformed.

Fixes #99.

Currently, indices are only created when the connector is opened. If the
destination index is changed by a Single Message Transform, the index
may not exist when the record is being written, and as such will fail
to create a mapping, as the index does not exist.

This patch creates the index, after the message has been transformed.
@ghost
Copy link

ghost commented Dec 5, 2018

@confluentinc It looks like @Mongey just signed our Contributor License Agreement. 👍

Always at your service,

clabot

So multiple calls with the same index does not make a network call
@sgerrand
Copy link

👋 @jarekr @maxzheng

@levzem
Copy link
Contributor

levzem commented Nov 19, 2019

@Mongey this feature was implemented by #274 and #275 and therefore will be closing this PR. Thank you for your contribution regardless. Feel free to reopen if you have any questions.

@levzem levzem closed this Nov 19, 2019
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

Successfully merging this pull request may close these issues.

ConnectException: Cannot create mapping when using RegexRouter/TimestampRouter SMT
3 participants