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

Out of ordering of requests to opensearch #256

Open
Ramkumar-byte opened this issue Dec 22, 2023 · 2 comments
Open

Out of ordering of requests to opensearch #256

Ramkumar-byte opened this issue Dec 22, 2023 · 2 comments

Comments

@Ramkumar-byte
Copy link

Ramkumar-byte commented Dec 22, 2023

Hi Team,

We are seeing an out of order problem for the requests to opensearch when using index.write.method=upsert.

However we don't see this issue when we set index.write.method=insert.

Below is our connector config

connector.class=io.aiven.kafka.connect.opensearch.OpensearchSinkConnector
behavior.on.null.values=delete
transforms.extractKey.field=id
index.write.method=insert
connection.password=
tasks.max=10
topics=dev.task
batch.size=10000
transforms=extractKey
key.ignore=false
max.in.flight.requests=5
key.ignore.id.strategy=none
transforms.extractKey.type=org.apache.kafka.connect.transforms.ExtractField$Key
schema.ignore=true
key.converter.schemas.enable=false
flush.timeout.ms=300000
value.converter.schemas.enable=false
value.converter=org.apache.kafka.connect.json.JsonConverter
connection.url=...
key.converter=org.apache.kafka.connect.json.JsonConverter
behavior.on.version.conflict=warn
schemas.enable=false

@qlecorre
Copy link

Hey @Ramkumar-byte, thanks for reporting this issue with the sink connector. Is it still happening for you?

@nj4x
Copy link

nj4x commented Jun 6, 2024

FYI: We've experienced same issue. Apparently it can be fixed by setting max.in.flight.requests=1

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

3 participants