Skip to content

Make the rate more predictable #25

@hariso

Description

@hariso

Feature description

The current approach with read time won't exactly produce the number of messages per second. It will always sleep for the specified time before producing the record, regardless of how much time elapsed since the last time the connector produced a record. Using something like golang.org/x/time/rate would make this more accurate. Another improvement we could do if/when we have time.

-- @lovromazgon

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions