azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

Eventhub with Cleanup Policy

Open schaudhari6254888 opened this issue 2 years ago • 1 comments

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

schaudhari6254888 avatar Jan 07 '23 15:01 schaudhari6254888

API change check

APIView has identified API level changes in this PR and created following API reviews.

Azure.ResourceManager.EventHubs

azure-sdk avatar Jan 07 '23 16:01 azure-sdk

Hey @Yao725, the build points to the obsolete MessageRetentionInDays. Should we suppress the build error or have I made a mistake here ?

damodaravadhani avatar Feb 19 '23 13:02 damodaravadhani

Hey @Yao725 Yao Kou FTE, the build points to the obsolete MessageRetentionInDays. Should we suppress the build error or have I made a mistake here ?

@damodaravadhani, in my understanding, this property MessageRetentionInDays should be removed in the swagger as you said, so I suggest you adding the customized code to avoid breaking change and build failure. However, it looks like this property still exists, so you should remove the customization and just let the generator generate the code. And I'm also wondering if I misunderstood something here.

Yao725 avatar Feb 20 '23 02:02 Yao725

@Yao725 , as far as I can see, the generation did remove the property after rendering it obsolete, not really sure what we need to do next. Do you have any suggestions ?

damodaravadhani avatar Feb 22 '23 04:02 damodaravadhani

This is PR which Contain eventhub cleanup policy feature i.e "delete" & "compact". Also has the alert for removal message of messageRetentionInDays as it is replaced with retentionTimeInHour in future. can someone please look into this & review this. Thank you in advance!

schaudhari6254888 avatar Apr 05 '23 15:04 schaudhari6254888