class SofaTracerCommandListenerCustomizer implements MongoClientSettingsBuilderCustomizer {

    private String appName;

    @Override
    public void customize(Builder clientSettingsBuilder) {<FILL_FUNCTION_BODY>}

    public void setAppName(String appName) {
        this.appName = appName;
    }
}

        Assert.isTrue(StringUtils.hasText(appName), TRACER_APPNAME_KEY + " must be configured!");
        SofaTracerCommandListener commandListener = new SofaTracerCommandListener(appName);
        clientSettingsBuilder.addCommandListener(commandListener);
    
<no_super_class>