spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From act_coder <>
Subject How to disable '${service}.enabled' in Structured streaming while connecting to a kafka cluster
Date Wed, 08 Jan 2020 14:37:02 GMT
I am trying to read data from a secured Kafka cluster using spark structured
streaming. Also I am using the below library to read the data -
"spark-sql-kafka-0-10_2.12":"3.0.0-preview" since it has the feature to
specify our custom group id (instead of spark setting its own custom group

Dependency used in code:


I am getting the below error - even after specifying the required JAAS
configuration in spark options.

Caused by: java.lang.IllegalArgumentException: requirement failed:
Delegation token must exist for this connector. at
scala.Predef$.require(Predef.scala:281) at


Following document specifies that we can disable the feature of obtaining
delegation token -

I tried setting this property to
false in spark config, but it is still failing with the same error.

Sent from:

To unsubscribe e-mail:

View raw message