Skip to content

Commit

Permalink
Fixed #945 Kafka resource
Browse files Browse the repository at this point in the history
  • Loading branch information
gwilmer committed May 15, 2020
1 parent 06e5976 commit 3e6edb4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void start(Resource resource, TypedProperties resourceRuntimeSettings) {

setProperties(resourceRuntimeSettings);
if (properties.get(SETTING_BOOTSTRAP_SERVERS) != null) {
Thread.currentThread().setContextClassLoader(null);
producer = new KafkaProducer(properties);
}
}
Expand Down

0 comments on commit 3e6edb4

Please sign in to comment.