How to divide topic, partition and consumer when using kafka?

there is such an application scenario:

  1. the payment center needs to push notification 4 to specify consumer; in the user group
  2. platform needs to send notification 1 to assign consumer to merchant group, 2 to assign consumer to user group, and 3 to send notification to all consumer of rider group

if I use kafka to implement this requirement, can I use the partition shown in the following figure?

Aug.09,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38152-2c0f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38152-2c0f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?