-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Event hub namespace with KafkaEnabled property #2395
Event hub namespace with KafkaEnabled property #2395
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fernandoBRS,
Thank you for adding this property! In addition to a few minor comments left inline could we add he new property to the documentation?
It also looks like you are going to need to vender in the newer API version supporting the kafka_enabled
property
Co-Authored-By: fernandoBRS <fedeoliv@microsoft.com>
Co-Authored-By: fernandoBRS <fedeoliv@microsoft.com>
Co-Authored-By: fernandoBRS <fedeoliv@microsoft.com>
Hi @katbyte, yes I can add it in the documentation. Is it better to do a different PR for the documentation? |
Same PR is fine @fernandoBRS 🙂 |
@katbyte the preview version of the Event Hub that supports Kafka has a model structure a bit different compared to the current supported version on Terraform. For example, we can compare the models.go from the 2017-04-01 version with the models.go from the preview version. I would suggest two approaches:
Do you have any guidance in these approaches? Thanks! |
the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be tests?
@@ -83,7 +84,9 @@ resource "azurerm_eventhub_namespace" "test" { | |||
resource_group_name = "${azurerm_resource_group.test.name}" | |||
sku = "Standard" | |||
capacity = "2" | |||
auto_inflate_enabled = true | |||
auto_inflate_enabled = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like line 86 and 87 are duplicates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A change like this usually means the line break when from \n
<--> \n\r
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't understand. Are you saying lines 87 and 88 are not duplicates, but appear so due to github formatting? It looks to me like they are two green + lines with the same content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my apologies, you are definitely correct. Line 88 didn't appear in the conversation view.
Yep, this should definitely be added to a test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide tests that prove this change works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide tests that prove this change works as expected.
@@ -83,7 +84,9 @@ resource "azurerm_eventhub_namespace" "test" { | |||
resource_group_name = "${azurerm_resource_group.test.name}" | |||
sku = "Standard" | |||
capacity = "2" | |||
auto_inflate_enabled = true | |||
auto_inflate_enabled = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't understand. Are you saying lines 87 and 88 are not duplicates, but appear so due to github formatting? It looks to me like they are two green + lines with the same content.
Depends on #2572 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fernandoBRS,
We have updated the SDK to v24 and unblocked this. I hope you don't mind but i made the required changes 🙂 LGTM now 🚀
Good news, thanks for the support @katbyte ! 🚀 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Implemented feature request #1417 with
kafkaEnabled
property(fixes #1417)