Skip to content
#

jvm

java logo

Java was originally developed as an alternative to the C/C++ programming languages. It is now mainly used for building web, desktop, mobile, and embedded applications. Java is owned and licensed through Oracle, with free and open source implementations available from Oracle and other vendors.

Here are 1,363 public repositories matching this topic...

aartigao
aartigao commented Nov 9, 2020

Hi!

I'm proxying Kafka broker with Toxiproxy and I found that setConnectionCut all it does is disabling the bandwidth in either directions. This is useful if what you try to simulate a timeout on client side but not if you want to test a closed connection.

Turns out that Toxiproxy supports this closing connection by enable/disable the whole proxy (supported also by the Toxiproxy clien

simonbasle
simonbasle commented Nov 24, 2020

doOn* callbacks execute BEFORE propagating the signal further, whereas doAfter* execute after.

doOnSubscribe at least has misleading phrasing making it look like the handler is executed after the Subscription has been passed to downstream, which is not the case.

that is to say when a Subscription has been produced by the Publisher
**and passed to the `Subscriber#onSubscribe(

后端技术总结——包括Java基础、JVM、数据库、mysql、redis、计算机网络、算法、数据结构、操作系统、设计模式、系统设计、框架原理。最佳阅读地址:http://notfound9.github.io/interviewGuide/

  • Updated Nov 30, 2020
  • Java

Created by James Gosling

Released May 23, 1995

Website
www.oracle.com/technetwork/java/javase/overview/index.html
Wikipedia
Wikipedia
You can’t perform that action at this time.