Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactor API 배포 중 오류 발생 Scouter Agent #968

Open
sdevkishanjoshi opened this issue Oct 23, 2023 · 0 comments
Open

Reactor API 배포 중 오류 발생 Scouter Agent #968

sdevkishanjoshi opened this issue Oct 23, 2023 · 0 comments

Comments

@sdevkishanjoshi
Copy link

sdevkishanjoshi commented Oct 23, 2023

안녕하세요,
Scouter Agent 배포 중 다음과 같은 오류가 발생하였습니다. -->

20231019 03:55:52 [NONE] LoadJarBytes scouter.reactive 30518 bytes20231019 03:55:52 [NONE] LoadJarBytes scouter.http 24049 bytes20231019 03:55:52 [R201] 'reactor.core.publisher.Mono reactor.core.publisher.Mono.subscriberContext(java.util.function.Function)'20231019 03:55:52 [R201] 'reactor.core.publisher.Mono reactor.core.publisher.Mono.subscriberContext(java.util.function.Function)'java.lang.NoSuchMethodError: 'reactor.core.publisher.Mono reactor.core.publisher.Mono.subscriberContext(java.util.function.Function)'    scouter.xtra.reactive.ReactiveSupportWithCoroutine.subscriptOnContext(ReactiveSupportWithCoroutine.java:64)

이는 reactor API가 더 이상 사용않는 버전이며, Scouter가 해당 버전의 reactor API를 여전히 사용하고 있기 때문입니다.
https://projectreactor.io/docs/core/3.4.11/api/deprecated-list.html

API가 더 이상 사용되지 않음에 따라 이 API의 일부 함수들은 다음과 같이 설명됩니다

reactor.core.publisher.Mono.subscriberContext() ---> Mono.derContextual(Function) 또는 Mono.transformDerferContextual(BiFunction)

Scouter Agent에서 reactor API 버전을 3.5.0으로 업그레이드해야 할 것 같습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant