METHOD_0 ( ) { java . lang . String IDENT_0 = org . apache . commons . lang3 . IDENT_1 . METHOD_1 ( 5 ) ; org . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . IDENT_2 . IDENT_3 . METHOD_2 ( IDENT_6 . IDENT_7 ) ; int IDENT_8 = 1 ; int IDENT_9 = 1 ; kafka . admin . IDENT_10 . METHOD_3 ( IDENT_5 , IDENT_0 , IDENT_8 , IDENT_9 , new java . util . Properties ( ) ) ; int IDENT_11 = 100 ; final java . util . concurrent . IDENT_12 IDENT_13 = new java . util . concurrent . METHOD_4 ( IDENT_11 ) ; java . util . Properties IDENT_14 = new java . util . Properties ( ) ; IDENT_14 . put ( STRING_0 , IDENT_15 . IDENT_16 ) ; IDENT_14 . put ( STRING_1 , IDENT_15 . IDENT_16 ) ; IDENT_14 . put ( STRING_2 , org . apache . kafka . common . serialization . IDENT_17 . class . METHOD_5 ( ) ) ; IDENT_14 . put ( STRING_3 , org . apache . kafka . common . serialization . IDENT_17 . class . METHOD_5 ( ) ) ; java . util . Properties IDENT_18 = new java . util . Properties ( ) ; IDENT_18 . put ( STRING_4 , IDENT_6 . IDENT_7 ) ; IDENT_18 . put ( STRING_5 , ( STRING_6 + ( org . apache . commons . lang3 . IDENT_1 . METHOD_1 ( 5 ) ) ) ) ; final java . util . List < java . lang . String > IDENT_19 = new java . util . ArrayList ( ) ; final java . util . List < java . lang . String > IDENT_20 = new java . util . ArrayList ( ) ; kafka . IDENT_21 . consumer . IDENT_22 IDENT_23 = kafka . consumer . IDENT_24 . METHOD_6 ( new kafka . consumer . METHOD_7 ( IDENT_18 ) ) ; java . util . Map < java . lang . String , java . lang . Integer > IDENT_25 = new java . util . HashMap ( ) ; IDENT_25 . put ( IDENT_0 , 1 ) ; final java . util . List < kafka . consumer . IDENT_26 < java . lang . String , java . lang . String > > streams = IDENT_23 . METHOD_8 ( IDENT_25 , new kafka . serializer . METHOD_9 ( null ) , new kafka . serializer . METHOD_9 ( null ) ) . get ( IDENT_0 ) ; for ( final kafka . consumer . IDENT_26 < java . lang . String , java . lang . String > stream : streams ) { new java . lang . Thread ( ) { public void run ( ) { for ( kafka . message . IDENT_27 < java . lang . String , java . lang . String > IDENT_28 : stream ) { try { System . out . println ( ( STRING_7 + ( IDENT_28 . message ( ) ) ) ) ; IDENT_19 . add ( IDENT_28 . message ( ) ) ; IDENT_13 . METHOD_10 ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } } } . start ( ) ; } org . apache . kafka . IDENT_29 . IDENT_30 . IDENT_31 < java . lang . String , java . lang . String > IDENT_30 = new org . apache . kafka . IDENT_29 . IDENT_30 . IDENT_31 < java . lang . String , java . lang . String > ( IDENT_14 ) ; int i = 0 ; while ( i < IDENT_11 ) { org . apache . kafka . IDENT_29 . IDENT_30 . IDENT_32 < java . lang . String , java . lang . String > data = new org . apache . kafka . IDENT_29 . IDENT_30 . IDENT_32 < java . lang . String , java . lang . String > ( IDENT_0 , ( STRING_8 + ( i ++ ) ) ) ; java . util . concurrent . IDENT_33 < org . apache . kafka . IDENT_29 . IDENT_30 . IDENT_34 > IDENT_35 = IDENT_30 . METHOD_11 ( data ) ; METHOD_11 . get ( ) ; if ( METHOD_11 . METHOD_12 ( ) ) { System . out . println ( ( STRING_9 + ( data . value ( ) ) ) ) ; IDENT_20 . add ( data . value ( ) ) ; } } METHOD_10 . METHOD_13 ( ) ; "<AssertPlaceHolder>" ; IDENT_23 . METHOD_14 ( ) ; IDENT_30 . close ( ) ; kafka . admin . IDENT_10 . METHOD_15 ( IDENT_5 , IDENT_0 ) ; } METHOD_12 ( ) { return this . IDENT_36 . METHOD_12 ( ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_20 . toArray ( ) , IDENT_19 . toArray ( ) )