Re: Overriding JAAS config for connector

2017-02-27 Thread Stephen Durfey
Ah, I figured out the issue. It was user error. I needed to add that config to my connectors ConfigDef, and after that everything was working just fine. On Fri, Feb 24, 2017 at 1:41 PM, Ismael Juma wrote: > I suggest filing a JIRA with the details to reproduce and the stacktrace. > The way it wo

Re: Overriding JAAS config for connector

2017-02-24 Thread Ismael Juma
I suggest filing a JIRA with the details to reproduce and the stacktrace. The way it works for the consumer/producer is that the string config gets converted into a Password instance during the parsing stage. Seems like this is not happening in the connect case for some reason. Ismael On 24 Feb 2

Re: Overriding JAAS config for connector

2017-02-24 Thread Stephen Durfey
Yes, if I set jaas.sasl.config in my connector config it results in a ClassCastException thrown by JaasUtils when it retrieves that key from the config map. It's doing an explicit cast to Password, but I he value type is String at that point.  On Fri, Feb 24, 2017 at 11:30 AM -0600, "Ismae

Re: Overriding JAAS config for connector

2017-02-24 Thread Ismael Juma
Hi Stephen, Did you get an error when you set this as a String? It should work fine. Ismael On Thu, Feb 23, 2017 at 8:09 PM, Stephen Durfey wrote: > Now that 0.10.2.0 is out, I was looking forward to checking out the > inclusion of KIP-85 >