node.js – 10k partitions in Kafka?

I have 10k+ “devices” and require an independent “queue” for each one.
Each device writes the same type of data, for example:
{ deviceId, key, value, timestamp }

Then I have, say, 4 consumers. Each get 2500 deviceIds they are responsible for.
(A deviceId can only be consumed by one consumer at a time).

What’s the “best” way to implement this in Kafka?
Currently I’m thinking of a single topic, with 10k partitions with all consumers in a single consumer group.