1 package de.juplo.kafka.chat.backend.implementation.haproxy;
3 import de.juplo.kafka.chat.backend.domain.ShardingPublisherStrategy;
4 import lombok.RequiredArgsConstructor;
5 import lombok.extern.slf4j.Slf4j;
6 import reactor.core.publisher.Mono;
9 @RequiredArgsConstructor
11 public class HaproxyShardingPublisherStrategy implements ShardingPublisherStrategy
13 private final String host;
14 private final int port;
15 private final String instanceId;
19 public Mono<String> publishOwnership(int shard)
21 return Mono.error(new RuntimeException("TODO"));