public final class TaskHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
buildUrl(Map<String,String> props,
String componentSchema,
String endpointPropertiesPrefix,
String pathPropertiesPrefix) |
static String |
buildUrl(org.apache.camel.catalog.RuntimeCamelCatalog rcc,
Map<String,String> props,
String componentSchema,
String endpointPropertiesPrefix,
String pathPropertiesPrefix) |
static String |
createEndpointOptionsFromProperties(Map<String,String> props,
String prefix) |
static String |
createUrlPathFromProperties(Map<String,String> props,
String prefix) |
static <CFG extends org.apache.kafka.common.config.AbstractConfig> |
logRecordContent(org.slf4j.Logger logger,
org.apache.kafka.connect.connector.ConnectRecord<?> record,
CFG config) |
static Map<String,String> |
mergeProperties(Map<String,String> defaultProps,
Map<String,String> loadedProps) |
public static String buildUrl(org.apache.camel.catalog.RuntimeCamelCatalog rcc, Map<String,String> props, String componentSchema, String endpointPropertiesPrefix, String pathPropertiesPrefix) throws URISyntaxException
URISyntaxExceptionpublic static String buildUrl(Map<String,String> props, String componentSchema, String endpointPropertiesPrefix, String pathPropertiesPrefix)
public static String createEndpointOptionsFromProperties(Map<String,String> props, String prefix)
public static String createUrlPathFromProperties(Map<String,String> props, String prefix)
public static Map<String,String> mergeProperties(Map<String,String> defaultProps, Map<String,String> loadedProps)
public static <CFG extends org.apache.kafka.common.config.AbstractConfig> void logRecordContent(org.slf4j.Logger logger,
org.apache.kafka.connect.connector.ConnectRecord<?> record,
CFG config)
Copyright © 2020 The Apache Software Foundation. All rights reserved.