KafkaPublish and SNSPublish convenience functions