Maybe not continue Apache Kafka theme to disk

I have a specific use case where I am not allowed to save a certain kind of events. Events can be stored in memory, but not written to disk.

Is this possible with Kafka? Ideally I am looking for one topic to disable disk writing.

+3


source to share


2 answers


Impossible. On the Kafka mailing list, I got this suggestion:



you can configure the theme to be placed on a tmp-fs mount (i.e. a filesystem with no disk support).

+1


source


I don't think you can stop Kafka from writing anything to disk, as the change involves a change in his underlying architecture. One suggestion would be to create a theme for these special events that has a very short hold time (say a few minutes).



0


source







All Articles