Github user bowenli86 commented on the issue:

    https://github.com/apache/flink/pull/3736
  
    @StephanEwen @zentol I shaded okhttp3 and okio from flink-metrics-datadog. 
I didn't use '<if>shade-flink</id>' because I found it somehow prevents me from 
building a uber jar. Let me know if it's ok to shade them this way.
    
    
    ```
    $ jar -tf 
target/flink-metrics-datadog-1.3-SNAPSHOT-jar-with-dependencies.jar
    
    META-INF/
    META-INF/MANIFEST.MF
    META-INF/DEPENDENCIES
    META-INF/LICENSE
    META-INF/NOTICE
    org/
    org/apache/
    org/apache/flink/
    org/apache/flink/metrics/
    org/apache/flink/metrics/datadog/
    org/apache/flink/metrics/datadog/DatadogHttpClient.class
    
org/apache/flink/metrics/datadog/DatadogHttpReporter$DatadogHttpRequest.class
    org/apache/flink/metrics/datadog/DatadogHttpReporter.class
    org/apache/flink/metrics/datadog/DCounter.class
    org/apache/flink/metrics/datadog/DGauge.class
    org/apache/flink/metrics/datadog/DMeter.class
    org/apache/flink/metrics/datadog/DMetric.class
    org/apache/flink/metrics/datadog/DSeries.class
    org/apache/flink/metrics/datadog/MetricType.class
    META-INF/maven/
    META-INF/maven/org.apache.flink/
    META-INF/maven/org.apache.flink/flink-metrics-datadog/
    META-INF/maven/org.apache.flink/flink-metrics-datadog/pom.xml
    META-INF/maven/org.apache.flink/flink-metrics-datadog/pom.properties
    META-INF/maven/org.apache.flink/force-shading/
    META-INF/maven/org.apache.flink/force-shading/pom.xml
    META-INF/maven/org.apache.flink/force-shading/pom.properties
    org/apache/flink/shaded/
    org/apache/flink/shaded/okhttp3/
    org/apache/flink/shaded/okhttp3/Address.class
    .....
    org/apache/flink/shaded/okhttp3/WebSocketListener.class
    META-INF/maven/com.squareup.okhttp3/
    META-INF/maven/com.squareup.okhttp3/okhttp/
    META-INF/maven/com.squareup.okhttp3/okhttp/pom.xml
    META-INF/maven/com.squareup.okhttp3/okhttp/pom.properties
    org/apache/flink/shaded/okio/
    org/apache/flink/shaded/okio/AsyncTimeout$1.class
    ...
    org/apache/flink/shaded/okio/Util.class
    META-INF/maven/com.squareup.okio/
    META-INF/maven/com.squareup.okio/okio/
    META-INF/maven/com.squareup.okio/okio/pom.xml
    META-INF/maven/com.squareup.okio/okio/pom.properties
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to