Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Broker uses protobuf based serialization for now.

  • Loading branch information...
commit 6cc79b3271d88a52810de5958699dfa130ad0b29 1 parent 85dbecd
jhartman authored
View
2  sensei-core/src/main/java/com/sensei/search/nodes/SenseiBroker.java
@@ -46,7 +46,7 @@
public SenseiBroker(PartitionedNetworkClient<Integer> networkClient, ClusterClient clusterClient,
SenseiLoadBalancerFactory loadBalancerFactory) throws NorbertException
{
- super(networkClient, CoreSenseiServiceImpl.SERIALIZER);
+ super(networkClient, CoreSenseiServiceImpl.PROTO_SERIALIZER); //TODO: Switch to the java serializer after upgrade
_loadBalancerFactory = loadBalancerFactory;
clusterClient.addListener(this);
logger.info("created broker instance " + networkClient + " " + clusterClient + " " + loadBalancerFactory);
View
2  sensei-core/src/main/java/com/sensei/search/nodes/SenseiSysBroker.java
@@ -41,7 +41,7 @@
public SenseiSysBroker(PartitionedNetworkClient<Integer> networkClient, ClusterClient clusterClient,
SenseiLoadBalancerFactory loadBalancerFactory, Comparator<String> versionComparator) throws NorbertException
{
- super(networkClient, SysSenseiCoreServiceImpl.SERIALIZER);
+ super(networkClient, SysSenseiCoreServiceImpl.PROTO_SERIALIZER);
_versionComparator = versionComparator;
_loadBalancerFactory = loadBalancerFactory;
clusterClient.addListener(this);
Please sign in to comment.
Something went wrong with that request. Please try again.