old_contents: from legacy import (
      create_message, create_gzip_message,
      create_snappy_message, create_message_set,
      CODEC_NONE, CODEC_GZIP, CODEC_SNAPPY, ALL_CODECS,
      ATTRIBUTE_CODEC_MASK, KafkaProtocol,
  )
  
new_contents: from .legacy import (
      create_message, create_gzip_message,
      create_snappy_message, create_message_set,
      CODEC_NONE, CODEC_GZIP, CODEC_SNAPPY, ALL_CODECS,
      ATTRIBUTE_CODEC_MASK, KafkaProtocol,
  )
  
subject: Fix __init__ legacy relative module import