Properties consumerProps() {
        return consumerProps;
    }
@Test
    public void shouldParseConfigsFromFile() throws IOException {
        Map<String, String> configs = new HashMap<>();
        configs.put("request.timeout.ms", "1000");
        configs.put("group.id", "group1");
        File propsFile = ToolsTestUtils.tempPropertiesFile(configs);
        String[] args = new String[]{
            "--bootstrap-server", "localhost:9092",
            "--topic", "test",
            "--consumer-config", propsFile.getAbsolutePath()
        };

        ConsoleShareConsumerOptions config = new ConsoleShareConsumerOptions(args);

        assertEquals("1000", config.consumerProps().getProperty("request.timeout.ms"));
        assertEquals("group1", config.consumerProps().getProperty("group.id"));
    }