Github user pnowojski commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5383#discussion_r167224057
  
    --- Diff: 
flink-connectors/flink-connector-kafka-0.11/src/test/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer011ITCase.java
 ---
    @@ -592,24 +595,21 @@ private Properties createProperties() {
                return properties;
        }
     
    -   private void assertIsCausedBy(Class<?> clazz, Throwable ex) {
    +   private static <T> Optional<T> isCausedBy(Class<T> clazz, Throwable ex) 
{
    --- End diff --
    
    Changed to `findThrowable` :)


---

Reply via email to