@Override
    public ConsumerConfig build() {
        ConsumerConfig consumer = new ConsumerConfig();
        super.build(consumer);

        consumer.setDefault(isDefault);
        consumer.setClient(client);
        consumer.setThreadpool(threadpool);
        consumer.setCorethreads(corethreads);
        consumer.setThreads(threads);
        consumer.setQueues(queues);
        consumer.setShareconnections(shareconnections);
        consumer.setUrlMergeProcessor(urlMergeProcessor);

        return consumer;
    }
@Test
    void build() {
        ConsumerBuilder builder = ConsumerBuilder.newBuilder();
        builder.isDefault(true)
                .client("client")
                .threadPool("threadPool")
                .coreThreads(10)
                .threads(100)
                .queues(200)
                .shareConnections(300)
                .id("id");

        ConsumerConfig config = builder.build();
        ConsumerConfig config2 = builder.build();

        Assertions.assertTrue(config.isDefault());
        Assertions.assertEquals("client", config.getClient());
        Assertions.assertEquals("threadPool", config.getThreadpool());
        Assertions.assertEquals("id", config.getId());
        Assertions.assertEquals(10, config.getCorethreads());
        Assertions.assertEquals(100, config.getThreads());
        Assertions.assertEquals(200, config.getQueues());
        Assertions.assertEquals(300, config.getShareconnections());
        Assertions.assertNotSame(config, config2);
    }