Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosing messages intermittently while consuming from Azure service bus #402

Open
manisrivastav opened this issue Mar 24, 2023 · 1 comment

Comments

@manisrivastav
Copy link

we were using RHEA amqp v1.0.9 from many years, we recently started seeing that messages are missing intermittently on the receiver end.

tried adding some logging with events, but no luck

on receiver side added below events to capture.

	receiver.on('receiver_close', (e) => {
		winston.error('Rhea receiver was closed?', e);
	});
	
	receiver.on('error', (e) => {
		winston.error('Rhea receiver was closed?', e);
	});

	receiver.on('receiver_error', (e) => {
		winston.error('Rhea receiver error?', e);
	});

added similar logging on container level

container.on('connection_close', () => {
winston.error('connection_close');
});

container.on('connection_error', (e) => {
winston.error('connection_error', e);
});

container.on('protocol_error', (e) => {
winston.error('protocol_error', e);
});

container.on('error', (e) => {
winston.error('error', e);
});

@grs
Copy link
Member

grs commented Mar 24, 2023

What do you mean by 'missing'? There are messages sent that don't seem to be received? I would suggest that you ask the Azure Service Bus support team for any information they can give.

(You can set env var DEBUG=rhea* to get very detailed logging, but that may be too much if the issue is intermittent.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants