Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

[Hotfix] Fix Issue that gRPC Client and Pulsar Client Can't Coexist #501

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.futurewei.alcor.dataplane;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
Expand All @@ -26,7 +25,6 @@
import java.util.concurrent.Executors;

@SpringBootApplication
@EnableAutoConfiguration
@EnableAsync
public class DataPlaneManager {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import java.util.stream.Collectors;

//@Component
@Service("grpc")
@Service("grpcDataPlaneClient")
public class DataPlaneClientImpl implements DataPlaneClient {
private static final Logger LOG = LoggerFactory.getLogger(DataPlaneClientImpl.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import java.util.Map;

//@Component
@Service("pulsar")
@Service("pulsarDataPlaneClient")
public class DataPlaneClientImpl implements DataPlaneClient {
private static final Logger LOG = LoggerFactory.getLogger(DataPlaneClientImpl.class);

Expand Down