Kafka REST Pod Deployment Considerations

The following considerations apply when deploying the kafkarest pod:
  • The REST Proxy does not store any state on disk.
  • High Availability (HA) is not supported, but the kafkarest-svc Kubernetes service does implement load balancing. Your consumer client needs to handle exceptions returned from a failed consumer instance when deploying multiple kafkarest pods. It does this by attempting to create a new consumer instance using the kafkarest-svc address in order to switch to an active kafkarest pod.
  • To avoid long GCs, HPE recommends running multiple kafkarest pods instead of using heap sizes larger than 8 GB.