Skip to content

Reading semantics in the reader poller #347

Description

@sobychacko

Should we consider using read next w/ timeout? What about when it reaches end of topic? Does the listener just sit and wait for data on the topic to come in?

This is fine for the 1st pass but I think we may want to look into a combination of readNext(int, TimeUnit) + hasMessageAvailable (or something) to avoid the blocking. It does not feel efficient. That being said, this can be a "duly noted" comment and we can noodle on it a bit and handle in later PR. Just capturing my thoughts.

Originally posted by @onobc in #342 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: improvementAn improvement of implementation of existing feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions