I have a a few list that I am wanting to send through a Kafka producer.

```
listA [1,2,3]
listB ["cat", "dog", "fish"]

```

the producer sends the messages as bytes so I'm unsure how to properly set up the message so the list sends, when quotes are needed to send the message. This is what I currently have.

```
producer = KafkaProducer(bootstrap_servers='localhost:9092')
for _ in range(1):
        print(producer.send('test', b'"worker_id": listA ,  "worker_name" : listB'))

```

this method just give me a SyntaxError. 
I've also tried this method below and I get a similar result

```
print(producer.send('test', b("worker_uuid": worker_uuid))

```