Hystrix: Wrong hystrix event type for fallback missing

Created on 1 Jun 2017  路  6Comments  路  Source: Netflix/Hystrix

In my annotated hystrix command I have not defined any fallback method. But when my command execution gets fail, it gives me

 eventNotifier.markEvent(HystrixEventType.FALLBACK_FAILURE, commandKey);

But I think this should be

 eventNotifier.markEvent(HystrixEventType.FALLBACK_MISSING, commandKey);

you have a check here as if (fe instanceof UnsupportedOperationException) {} before making event for FALLBACK_MISSING.

Can somebody confirm whether this is expected? Any help would be appreciated.

javanica question

All 6 comments

@dmgcodevil Do you know if it is possible to support FALLBACK_MISSING in Javanica?

@mattrjacobs will take a look shortly

@dmgcodevil thank you .
I also found the cause and tested yesterday. I was about to provide information here to seek possibilities to contribute :)

@mattrjacobs in which release we can expect to be available ? :)

This is released in v1.5.13 now

Was this page helpful?
0 / 5 - 0 ratings