# How do I delete data from Kafka?

**URL:** <https://forum.confluent.io/t/how-do-i-delete-data-from-kafka/307>\
**Category:** Architecture and Design\
**Created:** [3 December 2020 14:44 UTC](https://forum.confluent.io/t/how-do-i-delete-data-from-kafka/307 "2020-12-03T14:44:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [3 December 2020 14:44 UTC](https://forum.confluent.io/t/how-do-i-delete-data-from-kafka/307/1 "2020-12-03T14:44:14Z")

</div>

For example, if a user wants their data deleted from my system and I’m using Kafka, how can I do that?

---

<div class="post-metadata">

**Author:** ![shubhamshirur](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@shubhamshirur](https://forum.confluent.io/u/shubhamshirur)\
**Post date:** [30 September 2021 07:26 UTC](https://forum.confluent.io/t/how-do-i-delete-data-from-kafka/307/2 "2021-09-30T07:26:25Z")

</div>

@rmoff Similar case, I want to delete data at random. I know the offset to be deleted. How can I do that?
