File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
example/example-adapter/example-adapter-grpc
src/main/java/org/dromara/dynamictp/example Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 3535 <apache-dubbo .version>3.0.7</apache-dubbo .version>
3636 <alibaba-dubbo .version>2.6.0</alibaba-dubbo .version>
3737 <alibaba-dubbo-starter .version>2.0.0</alibaba-dubbo-starter .version>
38- <grpc-starter .version>2.13.1 .RELEASE</grpc-starter .version>
38+ <grpc-starter .version>2.15.0 .RELEASE</grpc-starter .version>
3939 <hystrix .version>1.5.18</hystrix .version>
4040 <motan .version>1.2.0</motan .version>
4141 <okhttp .version>3.14.9</okhttp .version>
106106
107107 <dependency >
108108 <groupId >net.devh</groupId >
109- <artifactId >grpc-server- spring-boot-starter</artifactId >
109+ <artifactId >grpc-spring-boot-starter</artifactId >
110110 <version >${grpc-starter.version} </version >
111111 </dependency >
112112
Original file line number Diff line number Diff line change 4646 <dependency >
4747 <groupId >net.devh</groupId >
4848 <artifactId >grpc-spring-boot-starter</artifactId >
49- <version >2.13.1.RELEASE</version >
5049 </dependency >
5150
5251 <dependency >
5756 <dependency >
5857 <groupId >com.alibaba.cloud</groupId >
5958 <artifactId >spring-cloud-starter-alibaba-nacos-discovery</artifactId >
59+ <exclusions >
60+ <exclusion >
61+ <groupId >com.google.protobuf</groupId >
62+ <artifactId >protobuf-java</artifactId >
63+ </exclusion >
64+ </exclusions >
6065 </dependency >
6166
6267 <dependency >
7075 <extension >
7176 <groupId >kr.motd.maven</groupId >
7277 <artifactId >os-maven-plugin</artifactId >
73- <version >1.4.1.Final </version >
78+ <version >1.7.1 </version >
7479 </extension >
7580 </extensions >
7681 <plugins >
7782 <plugin >
7883 <groupId >org.xolstice.maven.plugins</groupId >
7984 <artifactId >protobuf-maven-plugin</artifactId >
80- <version >0.5.0 </version >
85+ <version >0.6.1 </version >
8186 <configuration >
82- <protocArtifact >com.google.protobuf:protoc:3.0.0 :exe:${os.detected.classifier} </protocArtifact >
87+ <protocArtifact >com.google.protobuf:protoc:3.18.2 :exe:${os.detected.classifier} </protocArtifact >
8388 <pluginId >grpc-java</pluginId >
84- <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.0.0 :exe:${os.detected.classifier} </pluginArtifact >
89+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.69.1 :exe:${os.detected.classifier} </pluginArtifact >
8590 </configuration >
8691 <executions >
8792 <execution >
Original file line number Diff line number Diff line change 2020import org .dromara .dynamictp .spring .annotation .EnableDynamicTp ;
2121import org .springframework .boot .SpringApplication ;
2222import org .springframework .boot .autoconfigure .SpringBootApplication ;
23+ import org .springframework .boot .autoconfigure .data .redis .RedisAutoConfiguration ;
2324
2425/**
2526 * @author fabian4
2627 */
2728@ EnableDynamicTp
28- @ SpringBootApplication
29+ @ SpringBootApplication ( exclude = RedisAutoConfiguration . class )
2930public class GrpcExampleApplication {
3031 public static void main (String [] args ) {
3132 SpringApplication .run (GrpcExampleApplication .class , args );
You can’t perform that action at this time.
0 commit comments