You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this library to check for events published as messages during integration tests. The problem is however that in many tests I'm not interested in all of the events published but only some which are published from an specific point until now.
The read messages does not provide a way to set a position or skip events until an specific point. It would be great if it was possible to reset events or set the consumer to the end of messages at some point. As a result the next read message will get only the last x messages.
Currently to solve this problem I'm using a consumer in a separate thread which is receiving all the events into a list that can be cleared any time to get future events in an empty list.
The text was updated successfully, but these errors were encountered:
I'm using this library to check for events published as messages during integration tests. The problem is however that in many tests I'm not interested in all of the events published but only some which are published from an specific point until now.
The read messages does not provide a way to set a position or skip events until an specific point. It would be great if it was possible to reset events or set the consumer to the end of messages at some point. As a result the next read message will get only the last x messages.
Currently to solve this problem I'm using a consumer in a separate thread which is receiving all the events into a list that can be cleared any time to get future events in an empty list.
The text was updated successfully, but these errors were encountered: