Kong_cassandra lua_shared_dict shm

kong_cassandra is shm used for cassandra queries from Kong.
Ref: kong/connector.lua at 50b8405d02a3bcdf070033632ef0521db1219371 · Kong/kong · GitHub

By default, the size is set to 5m by Kong.

Had few questions regarding the usage of this shared memory.

  • Is there any way to manually override this size?
  • What happens if this shared memory is completely full?
  • I am observing a constant increase in allocated slabs for this shm. Is this something expected?

There is no way to override the value within kong.conf, but one could always change the value by providing a custom nginx template.