126127128129130131132133134135136
Event e = new EventImpl(("This is a test " + i).getBytes()); sink.append(e); Thread.sleep(200); } } catch (IOException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } }
128129130131132133134135136137138
Thread.sleep(200); } } catch (IOException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } } public static SinkBuilder builder() {
147148149150151152153154155156157
149150151152153154155156157158159
979899100101102103104105106107
99100101102103104105106107108
Thread.sleep(200); } } catch (IOException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } } }
137138139140141142143144145146147
139140141142143144145146147148149