Skip to content

The consumer logs timeout even is still receiving messages #56

@Gsantomaggio

Description

@Gsantomaggio

Describe the bug

The consumer logs:

Message? nativeMessage = await _receiverLink.ReceiveAsync(timeout).ConfigureAwait(false);
if (nativeMessage is null)
{
// this is not a problem, it is just a timeout.
// the timeout is set to 60 seconds.
// For the moment I'd trace it at some point we can remove it
Trace.WriteLine(TraceLevel.Verbose,
$"{ToString()}: Timeout {timeout.Seconds} s.. waiting for message.");
continue;
}
_unsettledMessageCounter.Increment();

even it is still consuming messages

Reproduction steps

Execute some long running consuming

Expected behavior

It should not go in timeout

Additional context

There aren't side effects btw. All the messages are consumed correctly without problems

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions