v2.0-non-rails/app/consumers/xml_messages_consumer.rb
def consume
    messages.each do |message|
      Karafka.logger.info "Consumed following message: #{message.payload}"
    end
  end
# This method just logs parsed data with Karafka logger
This method just logs parsed data with Karafka logger
This method just logs parsed data with Karafka logger
def consume
    messages.each do |message|
      Karafka.logger.info "Consumed following message: #{message.payload}"
    end
  end
def consume messages . each do | message | Karafka . logger . info "Consumed following message: #{message.payload}" end end
This method just logs parsed data with Karafka logger
This method just logs parsed data with Karafka logger