These are chat archives for spring-cloud/spring-cloud

22nd
Jun 2016
Matt Benson
@mbenson
Jun 22 2016 14:50
@dsyer could you clarify what you were talking about there?
pradeepkusingh
@pradeepkusingh
Jun 22 2016 16:02
@dsyer : qq .. I am using turbine for hystrix dashboard and seeing that messages are sitting in rabbit mq and not getting consumed. Is there anything I am missing ?
Dave Syer
@dsyer
Jun 22 2016 16:23
A consumer?
@mbenson there's a "test-support" jar in spring cloud stream
It provides a "noop" local binder for testing
Matt Benson
@mbenson
Jun 22 2016 16:25
thinking more in terms of production resiliency... arguably it would still be okay to start an app even if it's not going to receive config bus updates, right? ;)
Dave Syer
@dsyer
Jun 22 2016 16:26
You can disable the bus I guess
I'm not sure what the use case is yet
Matt Benson
@mbenson
Jun 22 2016 16:26
use case is kafka/rabbit is unexpectedly down
Dave Syer
@dsyer
Jun 22 2016 16:27
Not sure about kafka, but rabbit consumers don't fail if the broker is down
They complain a bit
but they keep trying to reconnect
Matt Benson
@mbenson
Jun 22 2016 16:28
now that you mention it, that sounds familiar from when I was testing with Rabbit. We've mostly been using Kafka; thanks for mentioning that.
Marcos Barbero
@marcosbarbero
Jun 22 2016 17:03

Hi guys, was there any change regarding zuul error handling?
My scenario: I’ve a Zuul proxying all requests through all my microservices. When the microservices returns any status code different than 200 Zuul is handling the response and changing it. This is happening when I do use Brixton.SR1with Brixton.RELEASEit doesn’t happen.

Sample response with Brixton.RELEASE:

{"message":"Request method 'GET' not supported"}

Sample response with Brixton.SR1:

{
  "timestamp" : 1466614980444,
  "status" : 405,
  "error" : "Method Not Allowed",
  "message" : "No message available"
}

@dsyer @spencergibb if you have a spare time, please take a look on it :)

pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:04
@dsyer ; May be I am missing something.. I thought hystrix dashboard is a consumer of turbine data .. so I should not see any messages sitting in rabbit mq longer
sorry, I mean turbine is the consumer of data
Spencer Gibb
@spencergibb
Jun 22 2016 17:07
@marcosbarbero yes, and it has been fixed in snapshots
pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:08
@spencergibb ; I have upgraded my apps to brixton and seeing new error that javax. validation api missing.
Dave Syer
@dsyer
Jun 22 2016 17:08
Turbine is the consumer
Marcos Barbero
@marcosbarbero
Jun 22 2016 17:09
@spencergibb thank you. I’ll give it a try
pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:09
@dsyer : hmm.. I deleted whole queue and restart apps to build those again..I can see turbine is consuming data but queue is not getting clear
Dave Syer
@dsyer
Jun 22 2016 17:10
What version?
pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:11
angel sr6
Dave Syer
@dsyer
Jun 22 2016 17:13
Client and server?
pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:20
both.. everywhere we are using angel sr6..
Dave Syer
@dsyer
Jun 22 2016 17:21
I don't see how you can have a consumer and a full queue
pradeepkusingh
@pradeepkusingh
Jun 22 2016 17:23
that is what surprised me.. as a solution I deleted queue..
Niklas Herder
@herder
Jun 22 2016 18:46
I had a problem where the binder created two queues and only consumed from one of them - could this be the same thing?
spring-cloud/spring-cloud-stream#348
https://github.com/spring-cloud/spring-cloud-stream/issues/317#issuecomment-182918369
Dave Syer
@dsyer
Jun 22 2016 18:49
That's why I asked about the version (it was an issue in one of the Brixton milestones)
Niklas Herder
@herder
Jun 22 2016 19:36
Ah, right. :)
Dave Syer
@dsyer
Jun 22 2016 19:52
@pradeepkusingh I think we're at the point here where we have to just say "it works for me" and ask you to provide a simple sample app that demonstrates the problem
pradeepkusingh
@pradeepkusingh
Jun 22 2016 19:53
@dsyer : will try to reproduce and put a sample also. Thanks for all your help Dave.