Apache_kafka integration: add key for the send_and_wait call

It would be beneficial to add key for the send_and_wait command to guarantee orderly delivery for the consumer of the events for the same entity_id. If key is not defined produced records will be randomly distributed between all the partitions.
I suggest to use entity_id as a key.

This was added in 2024.8