Config | Type | Default | Description |
---|---|---|---|
topic | String | .* | Topic regex, topic that match this regex will have the interceptor applied. If no value is set, it will be applied to all topics. |
cacheConfig | Cache config | Configuration for cache. |
Config | Type | Description |
---|---|---|
type | enum (IN_MEMORY, ROCKSDB) | Default: IN_MEMORY. |
rocksdbConfig | Rocksdb config | Configuration for rocksdb cache. |
inMemConfig | InMem config | Configuration for im-memory cache. |
Config | Type | Description |
---|---|---|
dbPath | String | Path to RocksDB database |
cacheSize | int | RocksDB cache size in bytes, default: 100MB |
Config | Type | Description |
---|---|---|
cacheSize | int | In-memory cache size. |
expireTimeMs | long | In-memory cache expiration time in milliseconds. |