private Map<String, Object> augmentAndFilterConnectorConfig(String connectorConfigs) throws IOException {
        return augmentAndFilterConnectorConfig(connectorConfigs, instanceConfig, secretsProvider,
                componentClassLoader, componentType);
    }
@Test
    public void testSinkConfigParsingPreservesOriginalType() throws Exception {
        final Map<String, Object> parsedConfig = JavaInstanceRunnable.augmentAndFilterConnectorConfig(
                "{\"ttl\": 9223372036854775807}",
                new InstanceConfig(),
                new EnvironmentBasedSecretsProvider(),
                null,
                FunctionDetails.ComponentType.SINK
        );
        Assert.assertEquals(parsedConfig.get("ttl").getClass(), Long.class);
        Assert.assertEquals(parsedConfig.get("ttl"), Long.MAX_VALUE);
    }