- log.info("Sending create-command for chat rooom: id={}, name={}");
- return chatRoomChannel.sendCreateChatRoomRequest(id, name);
+ int shard = selectShard(id);
+ log.info(
+ "Sending create-command for chat rooom: id={}, name={}, shard={}",
+ id,
+ name,
+ shard);
+ return infoChannel.sendChatRoomCreatedEvent(id, name, shard);