Hello Shafi, Welcome to MS Q&A
I think there is no specific configuration setting or code that can provide proof that Azure Event Hub is immutable and append-only. The immutability and append-only nature of Azure Event Hub is achieved through the use of immutability policies, which can be set at the container or version level. Time-based retention policies and legal hold policies prevent write and delete operations while they are in effect. When a time-based retention policy is set, objects can be created and read, but not modified or deleted. After the retention period has expired, objects can be deleted but not overwritten. A legal hold stores immutable data until the legal hold is explicitly cleared.
For more detailed information, you can refer to the following resources:
- Kafka Streams for Azure Event Hubs
- Availability and consistency in Event Hubs
- Store business-critical blob data with immutable storage in a write once, read many (WORM) state
Please let me know if any further question
Kindly accept answer if it helps
Thanks
Deepanshu