Randall Hauch created KAFKA-8277: ------------------------------------ Summary: Fix NPE in ConnectHeaders Key: KAFKA-8277 URL: https://issues.apache.org/jira/browse/KAFKA-8277 Project: Kafka Issue Type: Bug Components: KafkaConnect Affects Versions: 1.1.0 Reporter: Randall Hauch Fix For: 1.1.2, 2.0.2, 2.3.0, 2.1.2, 2.2.1
Replace {{headers.isEmpty()}} by calls to {{isEmpty()}} as the latter does a null check on heathers (that is lazily created). -- This message was sent by Atlassian JIRA (v7.6.3#76005)