Tuesday, March 05, 2024

subscribeOn or publishOn? may be both.

neither
[ctor-http-nio-4] ServiceClient : getting
[ctor-http-nio-4] Controller : getting
[ctor-http-nio-4] ServiceClient : got
[ctor-http-nio-4] Controller : got


subscribeOn in service
[ctor-http-nio-4] Controller : getting
[ scheduler-1] ServiceClient : getting
[ctor-http-nio-6] ServiceClient : got
[ctor-http-nio-6] Controller : got


publishOn in service client
[ctor-http-nio-4] ServiceClient : getting
[ctor-http-nio-4] Controller : getting
[ scheduler-1] ServiceClient : got
[ scheduler-1] Controller : got


subscribeOn in service and publishOn in service client
[ctor-http-nio-4] Controller : getting
[ scheduler-1] ServiceClient : getting
[ scheduler-2] ServiceClient : got
[ scheduler-2] Controller : got