@RequestMapping(value = "/customers", method = RequestMethod.GET)
 public CompletableFuture<CustomersQueryResponse> getCustomersByEmail(@RequestParam String email) {
   return customerQueryService.findByEmail(email).thenApply(this::getCustomersQueryResponse);
 }
 @RequestMapping(value = "/customers/{customerId}", method = RequestMethod.GET)
 public CompletableFuture<QuerySideCustomer> getCustomer(@PathVariable String customerId) {
   return customerQueryService.findByCustomerId(customerId);
 }