Internalise properties of `KafkaProducer` into its `state` using `enum` associated values as well as possible > @FranzBusch : https://github.com/swift-server/swift-kafka-gsoc/pull/63#discussion_r1230907351