Fix warning in KafkaSourceTest