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

Always read and insert Kafka messages as a whole #6950

Merged
merged 6 commits into from Sep 20, 2019

Conversation

abyss7
Copy link
Contributor

@abyss7 abyss7 commented Sep 16, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Improvement

Short description (up to few sentences):
Insert all rows from a single Kafka message atomically.

Also some minor refactoring for LiveView.
@abyss7 abyss7 added the pr-improvement Pull request with some product improvements label Sep 16, 2019
@abyss7 abyss7 self-assigned this Sep 16, 2019
@abyss7
Copy link
Contributor Author

abyss7 commented Sep 19, 2019

@abyss7 abyss7 marked this pull request as ready for review September 19, 2019 12:23
@abyss7 abyss7 merged commit cffc254 into ClickHouse:master Sep 20, 2019
@ghuname
Copy link

ghuname commented Oct 31, 2019

Hi,

in ClickHouse release 19.15.2.2, 2019-10-01 change log there is an improvement:
Every message read from Kafka is inserted atomically. This resolves almost all known issues with Kafka engine. #6950 (Ivan), which is this issue.

Can you please explain in few words how this atomicity in this context work?

Clickhouse used to consume batch of messages, and if a single message is wrong, the whole batch is lost. How it works now?

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants