think there's been a regression in 3.7.0: ``` warn...
# azure
b
think there's been a regression in 3.7.0:
Copy code
warning: getEventhubNamespace is deprecated: azure.eventhub.getEventhubNamespace has been deprecated in favor of azure.eventhub.getNamespace
    warning: EventHubConsumerGroup is deprecated: azure.eventhub.EventHubConsumerGroup has been deprecated in favor of azure.eventhub.ConsumerGroup
those warnings are incorrect - those are both servicebus resources not eventhub (or at least they were last time this warning happened)
t
I think these warnings are correct. The resources were moved a while back, it’s just that we started displaying the warnings more agressively. Do you mind sharing your code snippet?
b
last time i got these warnings i changed the code from e.g. new EventConsumerGroup to new ConsumerGroup and asked why it wanted to replace all the resources. I was told that ConsumerGroup is a servicebus resource and EventHubConsumerGroup is an eventhub resource (the two are closely linked in Azure)
so i changed my code back, and in a release soon after the warnings disappeared
t
Service Bus has no notion of Consumer Groups
maybe it was a different error and hte previous time was a bug and this time it isnt
i'll change them and see if it works - thanks
t
That error is different though
b
yeah i thought it might be related but i guess not
t
It’s actually quite confusing… I can see that my comment in that issue is wrong. Let me update it.