javadisruptor-pattern

Disruptor helloworld example


I want to learn the Disruptor framework. Who can give me a helloworld example which can run in the main method with Java program language?


Solution

  • Here is a simple, runnable, example of how to use the Disruptor library. Example is written using version 2.10.4 of the Disruptor library.

    https://github.com/trevorbernard/disruptor-examples

    I've also cross posted on this thread: The simplest and actual example code of LMAX Disruptor