IssueRaiser

Support for Azure Event Hub - Log compaction Feature

### Is there an existing issue for this? - [X] I have searched the existing issues ### Community Note <!--- Please keep this note for the community ---> * Please vote on this issue by adding a :thumbsup: [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request * Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request * If you are interested in working on this issue or have submitted a pull request, please leave a comment <!--- Thank you for keeping this note for the community ---> ### Description When creating an Azure Event Hub cleanup policy can be set to "Delete" with a particular retention time or to "Compact" with a Tombstone retention time. This new feature is currently not supported in azurerm_eventhub. ### New or Affected Resource(s)/Data Source(s) azurerm_eventhub ### Potential Terraform Configuration ```hcl resource "azurerm_eventhub" "example" { name = "acceptanceTestEventHub" namespace_name = azurerm_eventhub_namespace.example.name resource_group_name = azurerm_resource_group.example.name partition_count = 2 cleanup_policy = "Compact" // or "Delete" tombstone_retention = 1 // In hours } ``` ### References - https://learn.microsoft.com/en-us/azure/event-hubs/log-compaction - https://learn.microsoft.com/en-us/re

Posted by ValentinVers on Jun 13, 2023, 2:13 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

support (Software)

Support for Azure Event Hub - Log compaction Feature

ValentinVersJun 13, 2023, 2:13 PM

### Is there an existing issue for this? - [X] I have searched the existing issues ### Community Note <!--- Please keep this note for the community ---> * Please vote on this issue by adding a :thumbsup: [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request * Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request * If you are interested in working on this issue or have submitted a pull request, please leave a comment <!--- Thank you for keeping this note for the community ---> ### Description When creating an Azure Event Hub cleanup policy can be set to "Delete" with a particular retention time or to "Compact" with a Tombstone retention time. This new feature is currently not supported in azurerm_eventhub. ### New or Affected Resource(s)/Data Source(s) azurerm_eventhub ### Potential Terraform Configuration ```hcl resource "azurerm_eventhub" "example" { name = "acceptanceTestEventHub" namespace_name = azurerm_eventhub_namespace.example.name resource_group_name = azurerm_resource_group.example.name partition_count = 2 cleanup_policy = "Compact" // or "Delete" tombstone_retention = 1 // In hours } ``` ### References - https://learn.microsoft.com/en-us/azure/event-hubs/log-compaction - https://learn.microsoft.com/en-us/re

Comments (0)

No comments yet. Start the discussion.

Comment on this issue