Skip to content

Double reading of events from Kafka topic when enable.offsets.commit = "false" #130

Open
@xtrmstep

Description

@xtrmstep

Hi,

Have tested Siddhi app and bumped into the issue with setting enable.offsets.commit = "false". When it's set, the source may start reading same events twice duplicating them in the sink. "May" - because there is no stable reproducing steps. Usually it happens after some period of using the source with that property set to false. Or it may start behave like this from very beginning. Most likely, some memory garbage stays in memory and has this side effect.

The issue is disappearing when this setting set to it's default value (removed). Or if group.id is changed. But it may not always disappear after the 2nd.

Can it be fixed so that consumer reads only one event and not duplicate, when offset is not committed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions