Migration from kafka-python

Is there any migration guide to move from kafka-python to confluent-kafka python library?

I’m particularly looking at the equivalent alternates for the following in kafka-python:

Config params:

  • consumer_timeout_ms
  • request_timeout_ms

API:

All client config options can be found in librdkafka documentation

For getting end offsets, they’re also called high watermarks