1

I am using ServiceBusProcessorClient consume the events from topic:

ServiceBusProcessorClient serviceBusProcessorClient = new ServiceBusClientBuilder()
                .connectionString(busConnectionString)
                .processor()
                .disableAutoComplete()
                .topicName(topicName)
                .subscriptionName(subscriptionName)
                .processMessage(processMessage)
                .processError(context -> processError(context,countdownLatch))
                .maxConcurrentCalls(maxConcurrentCalls)
                .buildProcessorClient();

serviceBusProcessorClient.start();

But after kill the app ,The message count in Azure service bus keep decrease until reach 0 . I can not understand what goes wrong in my implementation. The Topic configuration : topic config

The subscription configuration : subscription config

ihab sag
  • 11
  • 3

1 Answers1

0

Looks like helm deletes using the background propagation policy which lets the garbage collector to delete in the background. This is probably why your service is processing messages even after you run uninstall.

You would have to kill the process directly in addition to helm uninstall to not have anymore messages from being processed.

PramodValavala
  • 6,026
  • 1
  • 11
  • 30