'Can not add filters.hystrix on Api Gateway | Spring boot Microservice

I want to apply Gateway Config circuit braker . I apply hyxtrix but I cant not call f.hystrix Like

.route(p -> p
                        .path("/digi/retailbank/v1/**")
                        .filters(f -> f.hystrix(config -> {
                                    config
                                            .setName("retail-account")
                                            .setFallbackUri("forward:/fallback/accountFallback");
                                })
                                .filter(filter)
                        .uri("lb://RETAIL-BANKING"))

error of f.hystrix ==> can not get error config.setNName

I provide some screenshot enter image description here

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source