Skip to content

Commit

Permalink
Set CDC client nThreads of event loop group (#28682)
Browse files Browse the repository at this point in the history
  • Loading branch information
azexcy authored Oct 8, 2023
1 parent 0e824cf commit 38405b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void validateParameter(final CDCClientConfiguration parameter) {
@SneakyThrows(InterruptedException.class)
public void connect() {
Bootstrap bootstrap = new Bootstrap();
group = new NioEventLoopGroup();
group = new NioEventLoopGroup(1);
bootstrap.channel(NioSocketChannel.class)
.group(group)
.option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT)
Expand Down

0 comments on commit 38405b2

Please sign in to comment.