File tree Expand file tree Collapse file tree 6 files changed +28
-18
lines changed
Expand file tree Collapse file tree 6 files changed +28
-18
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ bootstrap_server_host=localhost:9092
2222topic =topic1
2323partitions =1
2424replication_factor =1
25- segment =1000000 # 1MB
26- retention_bytes=20000000 # 20MB
27- local_retention_bytes=5000000 # 5MB
25+ segment =1048576 # 1 MiB
26+ retention_bytes=104857600 # 100 MiB
27+ local_retention_bytes=1
2828retention_ms =360000000 # 100 hours
2929local_retention_ms=1000 # 1 second
3030
Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ services:
5959 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_PATH : " /tiered-storage-for-apache-kafka/core/*:/tiered-storage-for-apache-kafka/azure/*"
6060 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_NAME : " io.aiven.kafka.tieredstorage.RemoteStorageManager"
6161 KAFKA_REMOTE_LOG_STORAGE_MANAGER_IMPL_PREFIX : " rsm.config."
62- KAFKA_RSM_CONFIG_CHUNK_SIZE : 5242880 # 5MiB
63- KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.InMemoryChunkCache"
64- KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : -1
62+ KAFKA_RSM_CONFIG_CHUNK_SIZE : 4194304 # 4 MiB
63+ KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.DiskBasedChunkCache"
64+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PATH : /home/appuser/kafka-tiered-storage-cache
65+ KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : 1073741824 # 1 GiB
66+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PREFETCH_MAX_SIZE : 16777216 # 16 MiB
6567 KAFKA_RSM_CONFIG_CUSTOM_METADATA_FIELDS_INCLUDE : " REMOTE_SIZE"
6668 # Storage backend
6769 KAFKA_RSM_CONFIG_KEY_PREFIX : " tiered-storage-demo/"
Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ services:
5959 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_PATH : " /tiered-storage-for-apache-kafka/core/*:/tiered-storage-for-apache-kafka/gcs/*"
6060 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_NAME : " io.aiven.kafka.tieredstorage.RemoteStorageManager"
6161 KAFKA_REMOTE_LOG_STORAGE_MANAGER_IMPL_PREFIX : " rsm.config."
62- KAFKA_RSM_CONFIG_CHUNK_SIZE : 5242880 # 5MiB
63- KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.InMemoryChunkCache"
64- KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : -1
62+ KAFKA_RSM_CONFIG_CHUNK_SIZE : 4194304 # 4 MiB
63+ KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.DiskBasedChunkCache"
64+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PATH : /home/appuser/kafka-tiered-storage-cache
65+ KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : 1073741824 # 1 GiB
66+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PREFETCH_MAX_SIZE : 16777216 # 16 MiB
6567 KAFKA_RSM_CONFIG_CUSTOM_METADATA_FIELDS_INCLUDE : " REMOTE_SIZE"
6668 # Storage backend
6769 KAFKA_RSM_CONFIG_KEY_PREFIX : " tiered-storage-demo/"
Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ services:
5858 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_PATH : " /tiered-storage-for-apache-kafka/core/*"
5959 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_NAME : " io.aiven.kafka.tieredstorage.RemoteStorageManager"
6060 KAFKA_REMOTE_LOG_STORAGE_MANAGER_IMPL_PREFIX : " rsm.config."
61- KAFKA_RSM_CONFIG_CHUNK_SIZE : 5242880 # 5MiB
62- KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.InMemoryChunkCache"
63- KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : -1
61+ KAFKA_RSM_CONFIG_CHUNK_SIZE : 4194304 # 4 MiB
62+ KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.DiskBasedChunkCache"
63+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PATH : /home/appuser/kafka-tiered-storage-cache
64+ KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : 1073741824 # 1 GiB
65+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PREFETCH_MAX_SIZE : 16777216 # 16 MiB
6466 KAFKA_RSM_CONFIG_CUSTOM_METADATA_FIELDS_INCLUDE : " REMOTE_SIZE"
6567 # Storage backend
6668 KAFKA_RSM_CONFIG_KEY_PREFIX : " tiered-storage-demo/"
Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ services:
5858 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_PATH : " /tiered-storage-for-apache-kafka/core/*:/tiered-storage-for-apache-kafka/s3/*"
5959 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_NAME : " io.aiven.kafka.tieredstorage.RemoteStorageManager"
6060 KAFKA_REMOTE_LOG_STORAGE_MANAGER_IMPL_PREFIX : " rsm.config."
61- KAFKA_RSM_CONFIG_CHUNK_SIZE : 5242880 # 5MiB
62- KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.InMemoryChunkCache"
63- KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : -1
61+ KAFKA_RSM_CONFIG_CHUNK_SIZE : 4194304 # 4 MiB
62+ KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.DiskBasedChunkCache"
63+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PATH : /home/appuser/kafka-tiered-storage-cache
64+ KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : 1073741824 # 1 GiB
65+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PREFETCH_MAX_SIZE : 16777216 # 16 MiB
6466 KAFKA_RSM_CONFIG_CUSTOM_METADATA_FIELDS_INCLUDE : " REMOTE_SIZE"
6567 # Storage backend
6668 KAFKA_RSM_CONFIG_KEY_PREFIX : " tiered-storage-demo/"
Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ services:
5959 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_PATH : " /tiered-storage-for-apache-kafka/core/*:/tiered-storage-for-apache-kafka/s3/*"
6060 KAFKA_REMOTE_LOG_STORAGE_MANAGER_CLASS_NAME : " io.aiven.kafka.tieredstorage.RemoteStorageManager"
6161 KAFKA_REMOTE_LOG_STORAGE_MANAGER_IMPL_PREFIX : " rsm.config."
62- KAFKA_RSM_CONFIG_CHUNK_SIZE : 5242880 # 5MiB
63- KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.InMemoryChunkCache"
64- KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : -1
62+ KAFKA_RSM_CONFIG_CHUNK_SIZE : 4194304 # 4 MiB
63+ KAFKA_RSM_CONFIG_CHUNK_CACHE_CLASS : " io.aiven.kafka.tieredstorage.chunkmanager.cache.DiskBasedChunkCache"
64+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PATH : /home/appuser/kafka-tiered-storage-cache
65+ KAFKA_RSM_CONFIG_CHUNK_CACHE_SIZE : 1073741824 # 1 GiB
66+ KAFKA_RSM_CONFIG_CHUNK_CACHE_PREFETCH_MAX_SIZE : 16777216 # 16 MiB
6567 KAFKA_RSM_CONFIG_CUSTOM_METADATA_FIELDS_INCLUDE : " REMOTE_SIZE"
6668 # Storage backend
6769 KAFKA_RSM_CONFIG_KEY_PREFIX : " tiered-storage-demo/"
You can’t perform that action at this time.
0 commit comments