Customize Environment Variables and Kafka REST Proxy Heap Size
You can customize environmental variables for the kafkarest pod by using
the kafkarest StatefulSet.
The following example customizes the Kafka REST Proxy heap size:
- Edit the
kafkarestStatefulSet:$ kubectl edit statefulset kafkarest -n dataplatform - Add the variable name and value to the
env:section:spec: - template: - spec: - containers: - env: - name: KAFKAREST_HEAP_OPTS value: -Xmx4096m