Skip to content

requestBackPressure() doesn't take effect #356

@zailushangde

Description

@zailushangde

Hi Bill, in order to throttle the traffic, the requestBackPressure method is confirmed be called in the debug mode, which is hardcoded as below:

override def requestBackPressure(): Optional[lang.Long] = Optional.of(1L)

override def requestBuffer(): Optional[Integer] = Optional.empty()

however, the size of the consumed events is still same as the initial configuration StreamConfiguration().batchLimit(nakadiConfig.batchSize).

Any clue what I missed there, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions