public class ForestJoinService extends java.lang.Object implements IForestJoin
Modifier and Type | Class and Description |
---|---|
static class |
ForestJoinService.FJoinServiceFactory |
Modifier and Type | Field and Description |
---|---|
static java.util.UUID |
JVM_ID |
static java.lang.String |
ORIGIN |
static IKafkaBroker |
storageLayer |
Constructor and Description |
---|
ForestJoinService(BmContext context,
org.apache.kafka.clients.producer.KafkaProducer<java.lang.String,java.lang.String> kafkaProducer,
com.hazelcast.core.HazelcastInstance hz,
java.lang.String sharedAlias) |
Modifier and Type | Method and Description |
---|---|
ForestTopology |
handshake(Instance inst)
Register the given instance if necessary.
|
static void |
init() |
static void |
withAdminClient(java.util.function.BiConsumer<org.apache.kafka.clients.admin.AdminClient,IKafkaBroker> needsAdmin) |
public static final IKafkaBroker storageLayer
public static final java.util.UUID JVM_ID
public static final java.lang.String ORIGIN
public ForestJoinService(BmContext context, org.apache.kafka.clients.producer.KafkaProducer<java.lang.String,java.lang.String> kafkaProducer, com.hazelcast.core.HazelcastInstance hz, java.lang.String sharedAlias)
public static void init()
public static void withAdminClient(java.util.function.BiConsumer<org.apache.kafka.clients.admin.AdminClient,IKafkaBroker> needsAdmin)
public ForestTopology handshake(Instance inst)
IForestJoin
handshake
in interface IForestJoin
Copyright © 2021. All Rights Reserved.