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

Map opensearch index from message field #302

Open
younesDev00 opened this issue Jul 16, 2024 · 1 comment
Open

Map opensearch index from message field #302

younesDev00 opened this issue Jul 16, 2024 · 1 comment

Comments

@younesDev00
Copy link

is there a way to determine which index to send the information to regardless of the kafka topic based on information provided from the message body.

assume that kafka has the topic called "users", i would like to sync the topic user to the opensearch index "topic_username"
KEY: USER_1
Body: {
"name": "bob",
"index": "topic_username"
}
metadata: ""

thanks

@muralibasani
Copy link
Contributor

@younesDev00 I don't think anything like that exists, to determine based on message body

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

2 participants