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 multiplekafkarest
pods. It does this by attempting to create a new consumer instance using thekafkarest-svc
address in order to switch to an activekafkarest
pod. - To avoid long GCs, HPE recommends running multiple
kafkarest
pods instead of using heap sizes larger than 8 GB.