.build());
}
+ @GetMapping("/shards")
+ public Mono<String[]> getShardOwners()
+ {
+ return chatHomeService.getShardOwners();
+ }
+
@PostMapping("/store")
public void store()
{
- storageStrategy.write(chatHomeService);
+ storageStrategy
+ .write(chatHomeService)
+ .subscribe();
}
}