Nullpointer exception when creating Kafka sink connector

Where and how should this setting “confluent.topic.security.protocol”: “PLAINTEXT” be set?
And should the value be PLAINTEXT or PLAIN?