https://pulumi.com logo
Title
b

better-rainbow-14549

06/04/2020, 9:21 AM
think there's been a regression in 3.7.0:
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

tall-librarian-49374

06/04/2020, 9:59 AM
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

better-rainbow-14549

06/04/2020, 10:00 AM
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

tall-librarian-49374

06/04/2020, 10:00 AM
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

tall-librarian-49374

06/04/2020, 10:08 AM
That error is different though
b

better-rainbow-14549

06/04/2020, 10:08 AM
yeah i thought it might be related but i guess not
t

tall-librarian-49374

06/04/2020, 10:16 AM
It’s actually quite confusing… I can see that my comment in that issue is wrong. Let me update it.