@Bean
    public ShenyuPlugin loggingKafkaPlugin() {
        return new LoggingKafkaPlugin();
    }
@Test
    public void testLoggingKafkaPlugin() {
        applicationContextRunner
                .withPropertyValues(
                        "debug=true",
                        "shenyu.logging.kafka.enabled=true"
                )
                .run(context -> {
                    PluginDataHandler pluginDataHandler = context.getBean("loggingKafkaPluginDataHandler", PluginDataHandler.class);
                    assertNotNull(pluginDataHandler);

                    ShenyuPlugin plugin = context.getBean("loggingKafkaPlugin", ShenyuPlugin.class);
                    assertNotNull(plugin);
                    assertThat(plugin.named()).isEqualTo(PluginEnum.LOGGING_KAFKA.getName());
                });
    }