Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Conversation

@racevedoo
Copy link
Member

Problem:

  • Memory usage increased a lot when elasticsearch insertion failed

Cause:

  • Decoded records buffer was being appended every time with duplicate records

Solution:

  • Check if buffer is empty(no records decoded) before actually decoding kafka messages

@racevedoo racevedoo assigned rfccg and mateusmoury and unassigned mateusmoury and rfccg Mar 20, 2018
@racevedoo racevedoo requested review from mateusmoury and rfccg March 20, 2018 12:11
@racevedoo racevedoo merged commit 7f15203 into master Mar 20, 2018
@racevedoo racevedoo deleted the hotfix/check-decoded-filled-write-failure branch March 20, 2018 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants