You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "stanislavkozlovski (GitHub)" <gi...@apache.org> on 2018/08/23 08:33:24 UTC

[GitHub] [kafka] stanislavkozlovski commented on pull request #5552: KAFKA-7324: NPE due to lack of SASLExtensions in SASL/OAUTHBEARER

What do you think about ensuring that non-null SaslExtensions never enter the system, rather than sprinkling checks in the code?

Since `SaslExtensions` are passed by `SaslExtensionsCallback`, I think it would be simple to guarantee no `null` extensions are ever returned by its `extensions()` method.

[ Full content available at: https://github.com/apache/kafka/pull/5552 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org