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

[FEATURE] i want to add a meta(map[string]interface{}) fields on BulkIndexerItem, for OnSuccess callback #438

Open
pwm1992 opened this issue Nov 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pwm1992
Copy link

pwm1992 commented Nov 28, 2023

Is your feature request related to a problem?

when I use bulk request to create doc, I want to modify some extraData on CallBack func (onSuccess/OnFailed)

What solution would you like?

add a meta(map[string]interface{})

What alternatives have you considered?

no

Do you have any additional context?

use the opensearch bulk to consume log(file) for batch create doc, i want to implement resume from break-point for the file. so, i have to know about each file offset of doc when I create doc success. but the file offset is extradata, so i want to add the metadata

@pwm1992 pwm1992 added enhancement New feature or request untriaged labels Nov 28, 2023
@dblock dblock removed the untriaged label Dec 4, 2023
@dblock
Copy link
Member

dblock commented Dec 4, 2023

This is a reasonable suggestion. Want to give it a try @pwm1992?

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