exceptionfactory commented on code in PR #7281:
URL: https://github.com/apache/nifi/pull/7281#discussion_r1201044113


##########
nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/java/org/apache/nifi/distributed/cache/client/CacheClientChannelPoolFactory.java:
##########
@@ -70,7 +71,7 @@ public ChannelPool createChannelPool(final String hostname,
                                          final SSLContextService 
sslContextService,
                                          final VersionNegotiatorFactory 
factory) {
         final SSLContext sslContext = (sslContextService == null) ? null : 
sslContextService.createContext();
-        final EventLoopGroup group = new NioEventLoopGroup();
+        final EventLoopGroup group = new NioEventLoopGroup(new 
DefaultThreadFactory("DMCNioEventLoopGroup", true));

Review Comment:
   This looks like a good opportunity to pass the Component Name and ID as the 
thread name prefix when instantiating the Pool Factory, along the lines of 
`DistributedMapCacheClient[id=UUID]`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to