spring-cloud-bus

io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action

纵饮孤独 提交于 2020-04-05 06:48:12
问题 I try to implement simple example of spring cloud config + spring cloud bus . So I've implemented Client server application Config server application and in the separated repository I've put application.properties file. Looks like everything is correct on the server side. But on client side I see error when application is starting: org.springframework.cloud.stream.binder.BinderException: Exception thrown while building outbound endpoint at org.springframework.cloud.stream.binder

io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action

我与影子孤独终老i 提交于 2020-04-05 06:48:08
问题 I try to implement simple example of spring cloud config + spring cloud bus . So I've implemented Client server application Config server application and in the separated repository I've put application.properties file. Looks like everything is correct on the server side. But on client side I see error when application is starting: org.springframework.cloud.stream.binder.BinderException: Exception thrown while building outbound endpoint at org.springframework.cloud.stream.binder

SpringCloud - ConfigServer - RabbitMQ - Client doesn't receive message from ConfigService

拟墨画扇 提交于 2019-12-13 17:22:24
问题 I'm trying to make a ConfigServer Remote and Client with Gitlab repository. The ConfigServer receives the notification of push through a Webhooks, but it doesn´t send the message to the client. I run a RabbitMQ with Docker, and I can see in the rabbit's console that the services are connected with it. So I don´t know what is the problem. The configServer pom file looks like: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>

Spring Cloud Stream - Aggregates

亡梦爱人 提交于 2019-12-11 04:57:47
问题 I'm trying to implement the proposed SCS aggregates, but I'm not sure to understand the real purpose of them, as the results I get surprise me. First, Here is the code... The source, a messages provider to be scheduled : @SpringBootApplication @EnableBinding(Source.class) public class SourceApplication { private final Logger logger = LoggerFactory.getLogger(SourceApplication.class); @Bean @InboundChannelAdapter(Source.OUTPUT) public MessageSource<String> createMessage() { return () -> {

How Spring Cloud Config Server PUSH plain text files to Config Client Application?

最后都变了- 提交于 2019-12-08 08:52:50
问题 What I have implemented so far are: Spring Cloud Config Server with "native" repo. spring.profiles.active: native spring.cloud.config.server.native.searchLocations: file:/path/to/config-repo Config Server is pushing notification to Config Client App through RabbitMQ, as http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_push_notifications_and_spring_cloud_bus Config Client App has @RefreshScope annotated on Service bean. So /config-repo has 3 files - application.yaml, client

How Spring Cloud Config Server PUSH plain text files to Config Client Application?

旧街凉风 提交于 2019-12-06 15:18:09
What I have implemented so far are: Spring Cloud Config Server with "native" repo. spring.profiles.active: native spring.cloud.config.server.native.searchLocations: file:/path/to/config-repo Config Server is pushing notification to Config Client App through RabbitMQ, as http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_push_notifications_and_spring_cloud_bus Config Client App has @RefreshScope annotated on Service bean. So /config-repo has 3 files - application.yaml, client.yaml and client.json All yaml properties changes will be auto reloaded by Config Client App for sure.