Microservice | Spring Cloud Eureka + Gateway + Hystrix | PART-4 | Javatechie

Microservice | Spring Cloud Eureka + Gateway + Hystrix | PART-4 | Javatechie

Java Techie

4 года назад

33,558 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@RN-jo8zt
@RN-jo8zt - 16.07.2023 08:00

it seems now hystrix deprecated. so can i replace with resilance4j in my project ?

Ответить
@nareshe9906
@nareshe9906 - 05.07.2023 20:41

is hystrix is the implementation of circuit breaker..?

Ответить
@MarJava22
@MarJava22 - 15.11.2022 15:28

amazing work sir...

Ответить
@bijay.shrestha
@bijay.shrestha - 17.08.2022 01:18

I do not know why but hystrix setup is not working for the new spring boot versions

Ответить
@shahjadealam4887
@shahjadealam4887 - 10.08.2022 08:18

Thank you so much for you tutorial.
One suggestion i would like to give.
Pls commit code as per topics
like video1 code, video2 code, video3 code....
It will help us to do the hands-on implementation.
Thanks!!

Ответить
@sarbeswarbasak2564
@sarbeswarbasak2564 - 28.05.2022 22:02

I am getting the below error-->
java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name CircuitBreaker

I am using resilience4j here.

application.yml-->
spring:
cloud:
gateway:
discovery:
locator:
enabled: true
routes:
- id: order-service
uri: lb://Order-Service
predicates:
- Path= /order/**
filters:
- name: CircuitBreaker
args:
name: order-service
fallbackuri: forward:/orderfallback
- id: payment-service
uri: lb://Payment-Service
predicates:
- Path= /payment/**
filters:
- name: CircuitBreaker
args:
name: payment-service
fallbackuri: forward:/paymentfallback


management:
health:
circuitbreakers:
enabled: true
endpoints:
web:
exposure:
include: health
endpoint:
health:
show-details: always
gateway:
enabled: true


resilience4j:
circuitbreaker:
configs:
default:
registerHealthIndicator: true
eventConsumerBufferSize: 10
failureRateThreshold: 50
minimumNumberOfCalls: 5
automaticTransitionFromOpenToHalfOpenEnabled: true
waitDurationInOpenState: 5s
permittedNumberOfCallsInHalfOpenState: 3
slidingWindowSize: 10
slidingWindowType: COUNT_BASED


could you please help brother...

Ответить
@sachinrokade4468
@sachinrokade4468 - 11.04.2022 12:50

Why the return type is mono in Fallback controller?

Ответить
@srikanthyadav-ni2ex
@srikanthyadav-ni2ex - 10.01.2022 16:16

Make video using resilience4j for above api gateway instead of hystrix

Ответить
@gauravk002
@gauravk002 - 30.12.2021 09:47

Good Work..Nice and crystal clear explanation.. you simplified spring boot concepts very well.. better than many paid courses..

Ответить
@gideonojo1953
@gideonojo1953 - 23.12.2021 00:52

unknown property hystrix.command encountered. any headway or update for this?

Ответить
@gajendrathakur4833
@gajendrathakur4833 - 17.10.2021 18:34

Thanks

Ответить
@michaeldesta3883
@michaeldesta3883 - 14.09.2021 06:58

amazing, keep this great job

Ответить
@veerthakkar5633
@veerthakkar5633 - 13.09.2021 10:47

Hello When i try to start the hystrix server getting error as : Failed to start bean 'eurekaAutoServiceRegistration'; nested exception is java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name Hystrix

please suggest.

Ответить
@maheshrevaskar7658
@maheshrevaskar7658 - 29.08.2021 22:43

HI Basant, Thanks a lot for such a good quality tutorial video. Is it possible to show the same using Resilience4j since the Hystrix is depricated for newer versions.

Ответить
@dineshroyal8795
@dineshroyal8795 - 14.07.2021 07:39

Thanks alot 🙏

Ответить
@abdussamad833
@abdussamad833 - 11.07.2021 20:37

i am facing mentioned error,
error- unable to find gatewayfilterfactory with name circuitbreaker
please help me

Ответить
@nitinkale8102
@nitinkale8102 - 17.06.2021 10:14

in application.yml file auto suggestion not coming can u please take YML file lecture
Thanks in advance

Ответить
@TheGodofcricket
@TheGodofcricket - 11.05.2021 15:29

please help bro

Ответить
@TheGodofcricket
@TheGodofcricket - 11.05.2021 15:29

its not working for me

Ответить
@KiranKumar-im1lv
@KiranKumar-im1lv - 01.04.2021 21:21

Hi Sir,
When I am running the Gateway, i am getting an exception " Unable to find GatewayFilterFactory with name CircuiteBreaker. Please help me on this.

Ответить
@jyotirmayapati642
@jyotirmayapati642 - 29.03.2021 21:11

Sir when i am running Hystrix dashboard, it showing -- Unable to connect to Command Metric Stream, please give any solution.

Ответить
@amitkumar7566
@amitkumar7566 - 02.12.2020 22:58

Hi, in application.yml file, this one is throwing compilation error:

hystrix
command
default
execution
isolation
thread
timeoutInMilliseconds: 5000

Is is changes now in springboot 2.4? how to do this?

Ответить
@saurabhkailashchandrapuran8609
@saurabhkailashchandrapuran8609 - 18.11.2020 13:09

you are too much intelligent bade bhaiya. you are teaching very well . i must touch you legs.

Ответить
@ramanjaneyappan7964
@ramanjaneyappan7964 - 22.10.2020 14:29

hystrix.command.* is not working

Ответить
@ramanjaneyappan7964
@ramanjaneyappan7964 - 22.10.2020 14:28

sir can you make Resiliance4j video for circuit break

Ответить
@spotnuru83
@spotnuru83 - 16.10.2020 21:09

i appreciate your patience to take time and create videos and help us in learning. i am following the entire series, was able to progress. But If I am trying to access directly the payment service I am getting the error from hystrix but when I am hitting the order service which is calling payment service internally I am not getting the fallback message defined . I am getting the below error.


{

"timestamp": "[email protected]+0000",

"status": 500,

"error": "Internal Server Error",

"message": "No instances available for PAYMENT-SERVICE",

"path": "/order/placeOrder"

}

Ответить
@DeepakKatheth
@DeepakKatheth - 15.09.2020 09:53

In the application.yml file it is showing hystrix.command as unknown property. How to resolve this ?

Ответить
@sureshdhulipudi600
@sureshdhulipudi600 - 11.09.2020 14:46

Nice bro, Can you do POC on Prometheus alertmanager integration with spring boot

Ответить
@rudramunihublimath96
@rudramunihublimath96 - 04.09.2020 08:14

Thank you for video. All videos are with clear explanation and its very easy to understand.

Ответить
@himanshujain5038
@himanshujain5038 - 15.07.2020 21:43

salute

Ответить
@rakibhasan3143
@rakibhasan3143 - 28.06.2020 18:49

Nice Video Tutorial. I am in a little problem in hystrix fallback issue. When Payment-service is down & i call bookOrder api, circuitBreaker not triggered. But "/payment/{orderId}" is successfully triggered in circuitBreaker. That is: hystrix is working well if failure happend in order-service and payment-service, but not working in internal RestTemplate request in order-service. Can you please help in this issue. Thank you in advance.

Ответить
@Rama-ol2hc
@Rama-ol2hc - 08.06.2020 15:04

Unknown property 'hystrix.command' hystrix command is not recognized in .property or .yml file, can you please guide me on resolving this issue.

Ответить
@ekremkamberoglu4141
@ekremkamberoglu4141 - 31.05.2020 14:26

Thank you for sharing it. It was great.

Ответить
@jyotirmoysaha7850
@jyotirmoysaha7850 - 20.04.2020 19:14

I am following your tutorial. They are of great help in integrating eureka service registry, microservices, spring cloud gateway. The only problem I am having is that when I use hysterix circuit breaker in my api gateway the microservices are not responding through gateway for the first 2 - 3 calls through postman during testing. But after that they are responding. And if I remove the circuit breaker part then there are no problems. Microservices then responding through api gateway without any problems. Please help.

Ответить
@sarojsahoo8763
@sarojsahoo8763 - 10.04.2020 06:22

Is it Mandatory to configure hystrix dashboard !

Ответить
@gauravdas1000
@gauravdas1000 - 05.04.2020 09:01

Very good tutorial for integration of most of the spring cloud topics.
Please guide me deploying the same in AWS cloud with autoscaling.

Ответить
@ramakrishnamallula8876
@ramakrishnamallula8876 - 04.04.2020 10:58

Nice explanation brother 👍👍

Ответить
@deveshmishra6611
@deveshmishra6611 - 03.04.2020 20:07

Please make some videos on saga pattern

Ответить
@shubhamswaraj1968
@shubhamswaraj1968 - 03.04.2020 19:46

Please create a tutorial on how to process and validate CSV file using Kafka, Spark, and hbase or hive using java

Ответить
@sarojsahoo8763
@sarojsahoo8763 - 03.04.2020 17:46

I am unable to proceed through java based configuration Can someone help!

Ответить
@balrajmys
@balrajmys - 03.04.2020 17:32

Bro nice one. I have sent a mail requesting for some help. Please respond.

Ответить
@sumeetrawale646
@sumeetrawale646 - 03.04.2020 17:22

What will be the topic of next video

Ответить
@akshaykumar-uv3up
@akshaykumar-uv3up - 03.04.2020 17:19

Hystrix in maintaience why don't you use resilience4j.

Ответить