How can use 'org.elasticsearch.spark.sql' with kerberos to read es data

I have tried use es-hadoop to read a elasticsearch which had configured kerberos. I have a reference to this Kerberos | Elasticsearch for Apache Hadoop [7.x] | Elastic but not success. Is there any example I can refer to it ?