index
int64
0
0
repo_id
stringlengths
9
205
file_path
stringlengths
31
246
content
stringlengths
1
12.2M
__index_level_0__
int64
0
10k
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqttsink/CamelMqttsinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqttsink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqttsinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelMqttsinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelMqttsinkSinkTask.class; } }
8,600
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqttsink/CamelMqttsinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqttsink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqttsinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelMqttsinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:mqtt-sink"; } }
8,601
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqttsink/CamelMqttsinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqttsink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqttsinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_CONF = "camel.kamelet.mqtt-sink.topic"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_DOC = "The topic to send messages to Example: mytopic"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_DEFAULT = null; public static final String CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_CONF = "camel.kamelet.mqtt-sink.brokerUrl"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_DOC = "The URL of the broker where to establish the connection Example: tcp://mosquitto:1883"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_DEFAULT = null; public static final String CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_CONF = "camel.kamelet.mqtt-sink.username"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_DOC = "Username to use when connecting to the MQTT broker"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.mqtt-sink.password"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_DOC = "Password to use when connecting to the MQTT broker"; public static final String CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_DEFAULT = null; public CamelMqttsinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelMqttsinkSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MQTTSINK_KAMELET_TOPIC_DOC); conf.define(CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MQTTSINK_KAMELET_BROKER_URL_DOC); conf.define(CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_MQTTSINK_KAMELET_USERNAME_DOC); conf.define(CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_MQTTSINK_KAMELET_PASSWORD_DOC); return conf; } }
8,602
0
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphqlsink/CamelGraphqlsinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.graphqlsink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGraphqlsinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelGraphqlsinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:graphql-sink"; } }
8,603
0
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphqlsink/CamelGraphqlsinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.graphqlsink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGraphqlsinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelGraphqlsinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelGraphqlsinkSinkTask.class; } }
8,604
0
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-graphql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphqlsink/CamelGraphqlsinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.graphqlsink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGraphqlsinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_CONF = "camel.kamelet.graphql-sink.url"; public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_DOC = "The URL to which you want to send data. Example: http://example.com/graphql"; public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_DEFAULT = null; public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_CONF = "camel.kamelet.graphql-sink.accessToken"; public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_DOC = "The access Token to use to access GraphQL server"; public static final String CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_DEFAULT = null; public CamelGraphqlsinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelGraphqlsinkSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_GRAPHQLSINK_KAMELET_URL_DOC); conf.define(CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQLSINK_KAMELET_ACCESS_TOKEN_DOC); return conf; } }
8,605
0
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/infinispansink/CamelInfinispansinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.infinispansink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelInfinispansinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_CONF = "camel.kamelet.infinispan-sink.cacheName"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_DOC = "The name of the Infinispan cache to use"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_DEFAULT = null; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_CONF = "camel.kamelet.infinispan-sink.hosts"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_DOC = "Specifies the host of the cache on Infinispan instance"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_DEFAULT = null; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_CONF = "camel.kamelet.infinispan-sink.secure"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_DOC = "If the Infinispan instance is secured or not"; public static final Boolean CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_DEFAULT = true; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_CONF = "camel.kamelet.infinispan-sink.username"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_DOC = "Username to connect to Infinispan."; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.infinispan-sink.password"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_DOC = "Password to connect to Infinispan."; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_DEFAULT = null; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.infinispan-sink.saslMechanism"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_DOC = "The SASL Mechanism to use"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_DEFAULT = "DIGEST-MD5"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_CONF = "camel.kamelet.infinispan-sink.securityRealm"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_DOC = "Define the security realm to access the infinispan instance"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_DEFAULT = "default"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_CONF = "camel.kamelet.infinispan-sink.securityServerName"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_DOC = "Define the security server name to access the infinispan instance"; public static final String CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_DEFAULT = "infinispan"; public CamelInfinispansinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelInfinispansinkSinkConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_INFINISPANSINK_KAMELET_CACHE_NAME_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_INFINISPANSINK_KAMELET_HOSTS_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURE_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_INFINISPANSINK_KAMELET_USERNAME_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_INFINISPANSINK_KAMELET_PASSWORD_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFINISPANSINK_KAMELET_SASL_MECHANISM_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_REALM_DOC); conf.define(CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFINISPANSINK_KAMELET_SECURITY_SERVER_NAME_DOC); return conf; } }
8,606
0
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/infinispansink/CamelInfinispansinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.infinispansink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelInfinispansinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelInfinispansinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:infinispan-sink"; } }
8,607
0
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-infinispan-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/infinispansink/CamelInfinispansinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.infinispansink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelInfinispansinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelInfinispansinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelInfinispansinkSinkTask.class; } }
8,608
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssqssource/CamelAwssqssourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssqssource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssqssourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_CONF = "camel.kamelet.aws-sqs-source.queueNameOrArn"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_DOC = "The SQS Queue Name or ARN"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_DEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_CONF = "camel.kamelet.aws-sqs-source.deleteAfterRead"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_DOC = "Delete messages after consuming them"; public static final Boolean CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT = true; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.aws-sqs-source.accessKey"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_DOC = "The access key obtained from AWS."; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_CONF = "camel.kamelet.aws-sqs-source.secretKey"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_DOC = "The secret key obtained from AWS."; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_CONF = "camel.kamelet.aws-sqs-source.region"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_DOC = "The AWS region to access."; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_DEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_CONF = "camel.kamelet.aws-sqs-source.autoCreateQueue"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_DOC = "Setting the autocreation of the SQS queue."; public static final Boolean CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_DEFAULT = false; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_CONF = "camel.kamelet.aws-sqs-source.amazonAWSHost"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_DOC = "The hostname of the Amazon AWS cloud."; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_DEFAULT = "amazonaws.com"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_CONF = "camel.kamelet.aws-sqs-source.protocol"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_DOC = "The underlying protocol used to communicate with SQS Example: http or https"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_DEFAULT = "https"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLCONF = "camel.kamelet.aws-sqs-source.queueURL"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLDOC = "The full SQS Queue URL (required if using KEDA)"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLDEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.kamelet.aws-sqs-source.useDefaultCredentialsProvider"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "If true, the SQS client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key)."; public static final Boolean CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF = "camel.kamelet.aws-sqs-source.uriEndpointOverride"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC = "The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option."; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF = "camel.kamelet.aws-sqs-source.overrideEndpoint"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC = "Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option."; public static final Boolean CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT = false; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.aws-sqs-source.delay"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll of the selected stream"; public static final Integer CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_DEFAULT = 500; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_CONF = "camel.kamelet.aws-sqs-source.greedy"; public static final String CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_DOC = "If greedy is enabled, then the polling will happen immediately again, if the previous run polled 1 or more messages."; public static final Boolean CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_DEFAULT = false; public CamelAwssqssourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAwssqssourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_NAME_OR_ARN_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELETE_AFTER_READ_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_ACCESS_KEY_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_SECRET_KEY_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_REGION_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AUTO_CREATE_QUEUE_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_AMAZON_AWSHOST_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_PROTOCOL_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLCONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLDEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_QUEUE_URLDOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_DELAY_DOC); conf.define(CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSSQSSOURCE_KAMELET_GREEDY_DOC); return conf; } }
8,609
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssqssource/CamelAwssqssourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssqssource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssqssourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelAwssqssourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAwssqssourceSourceTask.class; } }
8,610
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sqs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssqssource/CamelAwssqssourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssqssource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssqssourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelAwssqssourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:aws-sqs-source"; } }
8,611
0
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubeventsource/CamelGithubeventsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.githubeventsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGithubeventsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelGithubeventsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelGithubeventsourceSourceTask.class; } }
8,612
0
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubeventsource/CamelGithubeventsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.githubeventsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGithubeventsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_CONF = "camel.kamelet.github-event-source.repoName"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_DOC = "The GitHub Repository name"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_CONF = "camel.kamelet.github-event-source.repoOwner"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_DOC = "The repository owner"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_DEFAULT = null; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_CONF = "camel.kamelet.github-event-source.oauthToken"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_DOC = "OAuth token"; public static final String CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_DEFAULT = null; public CamelGithubeventsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelGithubeventsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_NAME_DOC); conf.define(CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_REPO_OWNER_DOC); conf.define(CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBEVENTSOURCE_KAMELET_OAUTH_TOKEN_DOC); return conf; } }
8,613
0
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-github-event-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubeventsource/CamelGithubeventsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.githubeventsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelGithubeventsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelGithubeventsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:github-event-source"; } }
8,614
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_CONF = "camel.sink.path.hostName"; public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_DOC = "HDFS host to use"; public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_DEFAULT = null; public static final String CAMEL_SINK_HDFS_PATH_PORT_CONF = "camel.sink.path.port"; public static final String CAMEL_SINK_HDFS_PATH_PORT_DOC = "HDFS port to use"; public static final Integer CAMEL_SINK_HDFS_PATH_PORT_DEFAULT = 8020; public static final String CAMEL_SINK_HDFS_PATH_PATH_CONF = "camel.sink.path.path"; public static final String CAMEL_SINK_HDFS_PATH_PATH_DOC = "The directory path to use"; public static final String CAMEL_SINK_HDFS_PATH_PATH_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF = "camel.sink.endpoint.connectOnStartup"; public static final String CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC = "Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes."; public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT = true; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF = "camel.sink.endpoint.fileSystemType"; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC = "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT = "HDFS"; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_CONF = "camel.sink.endpoint.fileType"; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DOC = "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DEFAULT = "NORMAL_FILE"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_CONF = "camel.sink.endpoint.keyType"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DOC = "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DEFAULT = "NULL"; public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_CONF = "camel.sink.endpoint.namedNodes"; public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DOC = "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)"; public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_CONF = "camel.sink.endpoint.owner"; public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_DOC = "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped."; public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_CONF = "camel.sink.endpoint.valueType"; public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DOC = "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT = "BYTES"; public static final String CAMEL_SINK_HDFS_ENDPOINT_APPEND_CONF = "camel.sink.endpoint.append"; public static final String CAMEL_SINK_HDFS_ENDPOINT_APPEND_DOC = "Append to existing file. Notice that not all HDFS file systems support the append option."; public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_APPEND_DEFAULT = false; public static final String CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_CONF = "camel.sink.endpoint.overwrite"; public static final String CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DOC = "Whether to overwrite existing files with the same name"; public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DEFAULT = true; public static final String CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; public static final String CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_CONF = "camel.sink.endpoint.blockSize"; public static final String CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DOC = "The size of the HDFS blocks"; public static final Long CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT = 67108864L; public static final String CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_CONF = "camel.sink.endpoint.bufferSize"; public static final String CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DOC = "The buffer size used by HDFS"; public static final Integer CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT = 4096; public static final String CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF = "camel.sink.endpoint.checkIdleInterval"; public static final String CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC = "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE."; public static final Integer CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT = 500; public static final String CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_CONF = "camel.sink.endpoint.chunkSize"; public static final String CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DOC = "When reading a normal file, this is split into chunks producing a message per chunk."; public static final Integer CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT = 4096; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF = "camel.sink.endpoint.compressionCodec"; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC = "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT = "DEFAULT"; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF = "camel.sink.endpoint.compressionType"; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC = "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]"; public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT = "NONE"; public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_CONF = "camel.sink.endpoint.openedSuffix"; public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DOC = "When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase."; public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT = "opened"; public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_CONF = "camel.sink.endpoint.readSuffix"; public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DOC = "Once the file has been read is renamed with this suffix to avoid to read it again."; public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT = "read"; public static final String CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_CONF = "camel.sink.endpoint.replication"; public static final String CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DOC = "The HDFS replication factor"; public static final Short CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DEFAULT = 3; public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF = "camel.sink.endpoint.splitStrategy"; public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC = "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting condition is met, a new file is created. The splitStrategy option is defined as a string with the following syntax: splitStrategy=ST:value,ST:value,... where ST can be: BYTES a new file is created, and the old is closed when the number of written bytes is more than value MESSAGES a new file is created, and the old is closed when the number of written messages is more than value IDLE a new file is created, and the old is closed when no writing happened in the last value milliseconds"; public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF = "camel.sink.endpoint.kerberosConfigFileLocation"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC = "The location of the kerb5.conf file (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF = "camel.sink.endpoint.kerberosKeytabLocation"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC = "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT = null; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF = "camel.sink.endpoint.kerberosUsername"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC = "The username used to authenticate with the kerberos nodes"; public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT = null; public static final String CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.hdfs.lazyStartProducer"; public static final String CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hdfs.autowiredEnabled"; public static final String CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.hdfs.healthCheckConsumerEnabled"; public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component"; public static final Boolean CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.hdfs.healthCheckProducerEnabled"; public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."; public static final Boolean CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_CONF = "camel.component.hdfs.jAASConfiguration"; public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DOC = "To use the given configuration for security with JAAS."; public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT = null; public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF = "camel.component.hdfs.kerberosConfigFile"; public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC = "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter"; public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT = null; public CamelHdfsSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelHdfsSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_HDFS_PATH_HOST_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_PATH_HOST_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HDFS_PATH_HOST_NAME_DOC); conf.define(CAMEL_SINK_HDFS_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_PATH_PORT_DOC); conf.define(CAMEL_SINK_HDFS_PATH_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_PATH_PATH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HDFS_PATH_PATH_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_OWNER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OWNER_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_APPEND_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_APPEND_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_APPEND_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_CONF, ConfigDef.Type.LONG, CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_CONF, ConfigDef.Type.SHORT, CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC); conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DOC); conf.define(CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC); return conf; } }
8,615
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelHdfsSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelHdfsSinkTask.class; } }
8,616
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelHdfsSourceConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs"); }}; } }
8,617
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_CONF = "camel.source.path.hostName"; public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DOC = "HDFS host to use"; public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_PATH_PORT_CONF = "camel.source.path.port"; public static final String CAMEL_SOURCE_HDFS_PATH_PORT_DOC = "HDFS port to use"; public static final Integer CAMEL_SOURCE_HDFS_PATH_PORT_DEFAULT = 8020; public static final String CAMEL_SOURCE_HDFS_PATH_PATH_CONF = "camel.source.path.path"; public static final String CAMEL_SOURCE_HDFS_PATH_PATH_DOC = "The directory path to use"; public static final String CAMEL_SOURCE_HDFS_PATH_PATH_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF = "camel.source.endpoint.connectOnStartup"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC = "Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF = "camel.source.endpoint.fileSystemType"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC = "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT = "HDFS"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_CONF = "camel.source.endpoint.fileType"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DOC = "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DEFAULT = "NORMAL_FILE"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_CONF = "camel.source.endpoint.keyType"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DOC = "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DEFAULT = "NULL"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_CONF = "camel.source.endpoint.namedNodes"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DOC = "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_CONF = "camel.source.endpoint.owner"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DOC = "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_CONF = "camel.source.endpoint.valueType"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DOC = "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT = "BYTES"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_CONF = "camel.source.endpoint.pattern"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DOC = "The pattern used for scanning the directory"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DEFAULT = "*"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF = "camel.source.endpoint.sendEmptyMessageWhenIdle"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC = "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT = false; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_CONF = "camel.source.endpoint.streamDownload"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DOC = "Sets the download method to use when not using a local working directory. If set to true, the remote files are streamed to the route as they are read. When set to false, the remote files are loaded into memory before being sent into the route."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DEFAULT = false; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_CONF = "camel.source.endpoint.pollStrategy"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DOC = "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_CONF = "camel.source.endpoint.blockSize"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DOC = "The size of the HDFS blocks"; public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT = 67108864L; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_CONF = "camel.source.endpoint.bufferSize"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DOC = "The buffer size used by HDFS"; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT = 4096; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF = "camel.source.endpoint.checkIdleInterval"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC = "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT = 500; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_CONF = "camel.source.endpoint.chunkSize"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DOC = "When reading a normal file, this is split into chunks producing a message per chunk."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT = 4096; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF = "camel.source.endpoint.compressionCodec"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC = "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT = "DEFAULT"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF = "camel.source.endpoint.compressionType"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC = "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT = "NONE"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_CONF = "camel.source.endpoint.openedSuffix"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DOC = "When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT = "opened"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_CONF = "camel.source.endpoint.readSuffix"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DOC = "Once the file has been read is renamed with this suffix to avoid to read it again."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT = "read"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_CONF = "camel.source.endpoint.replication"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DOC = "The HDFS replication factor"; public static final Short CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DEFAULT = 3; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF = "camel.source.endpoint.splitStrategy"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC = "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting condition is met, a new file is created. The splitStrategy option is defined as a string with the following syntax: splitStrategy=ST:value,ST:value,... where ST can be: BYTES a new file is created, and the old is closed when the number of written bytes is more than value MESSAGES a new file is created, and the old is closed when the number of written messages is more than value IDLE a new file is created, and the old is closed when no writing happened in the last value milliseconds"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.maxMessagesPerPoll"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "To define a maximum messages to gather per poll. By default a limit of 100 is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Values can only be greater than 0. Notice: If this option is in use then the limit will be applied on the valid files. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = 100; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF = "camel.source.endpoint.backoffErrorThreshold"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC = "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF = "camel.source.endpoint.backoffIdleThreshold"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC = "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_CONF = "camel.source.endpoint.backoffMultiplier"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DOC = "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured."; public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_CONF = "camel.source.endpoint.delay"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DOC = "Milliseconds before the next poll."; public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DEFAULT = 500L; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_CONF = "camel.source.endpoint.greedy"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DOC = "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DEFAULT = false; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_CONF = "camel.source.endpoint.initialDelay"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DOC = "Milliseconds before the first poll starts."; public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DEFAULT = 1000L; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_CONF = "camel.source.endpoint.repeatCount"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DOC = "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever."; public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DEFAULT = 0L; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_CONF = "camel.source.endpoint.runLoggingLevel"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DOC = "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT = "TRACE"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.scheduledExecutorService"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC = "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_CONF = "camel.source.endpoint.scheduler"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DOC = "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DEFAULT = "none"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_CONF = "camel.source.endpoint.schedulerProperties"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DOC = "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler."; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_CONF = "camel.source.endpoint.startScheduler"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DOC = "Whether the scheduler should be auto started."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_CONF = "camel.source.endpoint.timeUnit"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DOC = "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DEFAULT = "MILLISECONDS"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_CONF = "camel.source.endpoint.useFixedDelay"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DOC = "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details."; public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF = "camel.source.endpoint.kerberosConfigFileLocation"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC = "The location of the kerb5.conf file (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF = "camel.source.endpoint.kerberosKeytabLocation"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC = "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF = "camel.source.endpoint.kerberosUsername"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC = "The username used to authenticate with the kerberos nodes"; public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.hdfs.bridgeErrorHandler"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hdfs.autowiredEnabled"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.hdfs.healthCheckConsumerEnabled"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component"; public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.hdfs.healthCheckProducerEnabled"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."; public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_CONF = "camel.component.hdfs.jAASConfiguration"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DOC = "To use the given configuration for security with JAAS."; public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT = null; public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF = "camel.component.hdfs.kerberosConfigFile"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC = "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter"; public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT = null; public CamelHdfsSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelHdfsSourceConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_HDFS_PATH_HOST_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DOC); conf.define(CAMEL_SOURCE_HDFS_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_PATH_PORT_DOC); conf.define(CAMEL_SOURCE_HDFS_PATH_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_PATH_PATH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HDFS_PATH_PATH_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_CONF, ConfigDef.Type.SHORT, CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC); conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DOC); conf.define(CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC); return conf; } }
8,618
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelHdfsSinkConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "hdfs"); }}; } }
8,619
0
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.hdfs; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelHdfsSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelHdfsSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelHdfsSourceTask.class; } }
8,620
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssnsfifosink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssnsfifosinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_CONF = "camel.kamelet.aws-sns-fifo-sink.topicNameOrArn"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_DOC = "The SNS Topic name or ARN"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_DEFAULT = null; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.aws-sns-fifo-sink.accessKey"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_DOC = "The access key obtained from AWS."; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_CONF = "camel.kamelet.aws-sns-fifo-sink.secretKey"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_DOC = "The secret key obtained from AWS."; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_CONF = "camel.kamelet.aws-sns-fifo-sink.region"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_DOC = "The AWS region to access."; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_DEFAULT = null; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_CONF = "camel.kamelet.aws-sns-fifo-sink.contentBasedDeduplication"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_DOC = "Use content-based deduplication (should be enabled in the SQS FIFO queue first)"; public static final Boolean CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_DEFAULT = false; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_CONF = "camel.kamelet.aws-sns-fifo-sink.autoCreateTopic"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_DOC = "Setting the autocreation of the SNS topic."; public static final Boolean CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_DEFAULT = false; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.kamelet.aws-sns-fifo-sink.useDefaultCredentialsProvider"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."; public static final Boolean CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_CONF = "camel.kamelet.aws-sns-fifo-sink.uriEndpointOverride"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_DOC = "The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option."; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_CONF = "camel.kamelet.aws-sns-fifo-sink.overrideEndpoint"; public static final String CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_DOC = "Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option."; public static final Boolean CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_DEFAULT = false; public CamelAwssnsfifosinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAwssnsfifosinkSinkConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_TOPIC_NAME_OR_ARN_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_ACCESS_KEY_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_SECRET_KEY_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_REGION_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_CONTENT_BASED_DEDUPLICATION_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_AUTO_CREATE_TOPIC_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSNSFIFOSINK_KAMELET_OVERRIDE_ENDPOINT_DOC); return conf; } }
8,621
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssnsfifosink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssnsfifosinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelAwssnsfifosinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:aws-sns-fifo-sink"; } }
8,622
0
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awssnsfifosink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwssnsfifosinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelAwssnsfifosinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAwssnsfifosinkSinkTask.class; } }
8,623
0
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsamqp10source/CamelJmsamqp10sourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jmsamqp10source; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJmsamqp10sourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelJmsamqp10sourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:jms-amqp-10-source"; } }
8,624
0
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsamqp10source/CamelJmsamqp10sourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jmsamqp10source; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJmsamqp10sourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelJmsamqp10sourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelJmsamqp10sourceSourceTask.class; } }
8,625
0
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsamqp10source/CamelJmsamqp10sourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jmsamqp10source; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJmsamqp10sourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_CONF = "camel.kamelet.jms-amqp-10-source.destinationType"; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_DOC = "The JMS destination type (queue or topic)."; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_DEFAULT = "queue"; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_CONF = "camel.kamelet.jms-amqp-10-source.destinationName"; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_DOC = "The JMS destination name."; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URICONF = "camel.kamelet.jms-amqp-10-source.remoteURI"; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URIDOC = "The JMS URL. Example: amqp://my-host:31616"; public static final String CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URIDEFAULT = null; public CamelJmsamqp10sourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelJmsamqp10sourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_TYPE_DOC); conf.define(CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_DESTINATION_NAME_DOC); conf.define(CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URICONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URIDEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_JMSAMQP10SOURCE_KAMELET_REMOTE_URIDOC); return conf; } }
8,626
0
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kubernetesnamespacessource/CamelKubernetesnamespacessourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kubernetesnamespacessource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKubernetesnamespacessourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelKubernetesnamespacessourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelKubernetesnamespacessourceSourceTask.class; } }
8,627
0
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kubernetesnamespacessource/CamelKubernetesnamespacessourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kubernetesnamespacessource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKubernetesnamespacessourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_CONF = "camel.kamelet.kubernetes-namespaces-source.token"; public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_DOC = "The Auth Token to connect to Kubernetes Cluster"; public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_DEFAULT = null; public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_CONF = "camel.kamelet.kubernetes-namespaces-source.masterUrl"; public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_DOC = "The Kubernetes Cluster Master URL"; public static final String CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_DEFAULT = null; public CamelKubernetesnamespacessourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelKubernetesnamespacessourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_TOKEN_DOC); conf.define(CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KUBERNETESNAMESPACESSOURCE_KAMELET_MASTER_URL_DOC); return conf; } }
8,628
0
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kubernetes-namespaces-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kubernetesnamespacessource/CamelKubernetesnamespacessourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kubernetesnamespacessource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKubernetesnamespacessourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelKubernetesnamespacessourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:kubernetes-namespaces-source"; } }
8,629
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkanotsecuredsource/CamelKafkanotsecuredsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkanotsecuredsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkanotsecuredsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-not-secured-source.topic"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT = null; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-not-secured-source.bootstrapServers"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-not-secured-source.autoCommitEnable"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC = "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer"; public static final Boolean CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-not-secured-source.allowManualCommit"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits"; public static final Boolean CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-not-secured-source.pollOnError"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC = "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-not-secured-source.autoOffsetReset"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-not-secured-source.consumerGroup"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC = "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-not-secured-source.deserializeHeaders"; public static final String CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation."; public static final Boolean CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true; public CamelKafkanotsecuredsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelKafkanotsecuredsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_TOPIC_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC); conf.define(CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKANOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC); return conf; } }
8,630
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkanotsecuredsource/CamelKafkanotsecuredsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkanotsecuredsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkanotsecuredsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelKafkanotsecuredsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelKafkanotsecuredsourceSourceTask.class; } }
8,631
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkanotsecuredsource/CamelKafkanotsecuredsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkanotsecuredsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkanotsecuredsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelKafkanotsecuredsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:kafka-not-secured-source"; } }
8,632
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelNettySourceConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "netty"); }}; } }
8,633
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelNettySinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelNettySinkTask.class; } }
8,634
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_NETTY_PATH_PROTOCOL_CONF = "camel.source.path.protocol"; public static final String CAMEL_SOURCE_NETTY_PATH_PROTOCOL_DOC = "The protocol to use which can be tcp or udp. One of: [tcp] [udp]"; public static final String CAMEL_SOURCE_NETTY_PATH_PROTOCOL_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_PATH_HOST_CONF = "camel.source.path.host"; public static final String CAMEL_SOURCE_NETTY_PATH_HOST_DOC = "The hostname. For the consumer the hostname is localhost or 0.0.0.0. For the producer the hostname is the remote host to connect to"; public static final String CAMEL_SOURCE_NETTY_PATH_HOST_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_PATH_PORT_CONF = "camel.source.path.port"; public static final String CAMEL_SOURCE_NETTY_PATH_PORT_DOC = "The host port number"; public static final Integer CAMEL_SOURCE_NETTY_PATH_PORT_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_CONF = "camel.source.endpoint.disconnect"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_DOC = "Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_CONF = "camel.source.endpoint.keepAlive"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_DOC = "Setting to ensure socket is not closed due to inactivity"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_CONF = "camel.source.endpoint.reuseAddress"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_DOC = "Setting to facilitate socket multiplexing"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_CONF = "camel.source.endpoint.reuseChannel"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_DOC = "This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_CONF = "camel.source.endpoint.sync"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_DOC = "Setting to set endpoint as one-way or request-response"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_CONF = "camel.source.endpoint.tcpNoDelay"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_DOC = "Setting to improve TCP protocol performance"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_CONF = "camel.source.endpoint.broadcast"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_DOC = "Setting to choose Multicast over UDP"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_CONF = "camel.source.endpoint.clientMode"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_DOC = "If the clientMode is true, netty consumer will connect the address as a TCP client."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_CONF = "camel.source.endpoint.reconnect"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_DOC = "Used only in clientMode in consumer, the consumer will attempt to reconnect on disconnection if this is enabled"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_CONF = "camel.source.endpoint.reconnectInterval"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_DOC = "Used if reconnect and clientMode is enabled. The interval in milli seconds to attempt reconnection"; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_DEFAULT = 10000; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_CONF = "camel.source.endpoint.backlog"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_DOC = "Allows to configure a backlog for netty consumer (server). Note the backlog is just a best effort depending on the OS. Setting this option to a value such as 200, 500 or 1000, tells the TCP stack how long the accept queue can be If this option is not configured, then the backlog depends on OS setting."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_CONF = "camel.source.endpoint.bossCount"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_DOC = "When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1. User can use this option to override the default bossCount from Netty"; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_DEFAULT = 1; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_CONF = "camel.source.endpoint.bossGroup"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_DOC = "Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_CONF = "camel.source.endpoint.disconnectOnNoReply"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_DOC = "If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut]"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_CONF = "camel.source.endpoint.nettyServerBootstrapFactory"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_DOC = "To use a custom NettyServerBootstrapFactory"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_CONF = "camel.source.endpoint.networkInterface"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_DOC = "When using UDP then this option can be used to specify a network interface by its name, such as eth0 to join a multicast group."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_CONF = "camel.source.endpoint.noReplyLogLevel"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_DOC = "If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_DEFAULT = "WARN"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_CONF = "camel.source.endpoint.serverClosedChannelExceptionCaughtLogLevel"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DOC = "If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level. This is used to avoid logging the closed channel exceptions, as clients can disconnect abruptly and then cause a flood of closed exceptions in the Netty server. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT = "DEBUG"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_CONF = "camel.source.endpoint.serverExceptionCaughtLogLevel"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DOC = "If the server (NettyConsumer) catches an exception then its logged using this logging level. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT = "WARN"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_CONF = "camel.source.endpoint.serverInitializerFactory"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_DOC = "To use a custom ServerInitializerFactory"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.usingExecutorService"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_DOC = "Whether to use ordered thread pool, to ensure events are processed orderly on the same channel."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_CONF = "camel.source.endpoint.hostnameVerification"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DOC = "To enable/disable hostname verification on SSLEngine"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_CONF = "camel.source.endpoint.allowSerializedHeaders"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Only used for TCP when transferExchange is true. When set to true, serializable objects in headers and properties will be added to the exchange. Otherwise Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_CONF = "camel.source.endpoint.channelGroup"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_DOC = "To use a explicit ChannelGroup."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_CONF = "camel.source.endpoint.nativeTransport"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_DOC = "Whether to use native transport instead of NIO. Native transport takes advantage of the host operating system and is only supported on some platforms. You need to add the netty JAR for the host operating system you are using. See more details at: http://netty.io/wiki/native-transports.html"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_CONF = "camel.source.endpoint.options"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_DOC = "Allows to configure additional netty options using option. as prefix. For example option.child.keepAlive=false to set the netty option child.keepAlive=false. See the Netty documentation for possible options that can be used."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_CONF = "camel.source.endpoint.receiveBufferSize"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during inbound communication. Size is bytes."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF = "camel.source.endpoint.receiveBufferSizePredictor"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC = "Configures the buffer size predictor. See details at Jetty documentation and this mail thread."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_CONF = "camel.source.endpoint.sendBufferSize"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during outbound communication. Size is bytes."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_CONF = "camel.source.endpoint.synchronous"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_CONF = "camel.source.endpoint.transferExchange"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DOC = "Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_CONF = "camel.source.endpoint.udpByteArrayCodec"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DOC = "For UDP only. If enabled the using byte array codec instead of Java serialization protocol."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_CONF = "camel.source.endpoint.unixDomainSocketPath"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DOC = "Path to unix domain socket to use instead of inet socket. Host and port parameters will not be used, however required. It is ok to set dummy values for them. Must be used with nativeTransport=true and clientMode=false."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_CONF = "camel.source.endpoint.workerCount"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_DOC = "When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2). User can use this option to override the default workerCount from Netty."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_CONF = "camel.source.endpoint.workerGroup"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_DOC = "To use a explicit EventLoopGroup as the boss thread pool. For example to share a thread pool with multiple consumers or producers. By default each consumer or producer has their own worker pool with 2 x cpu count core threads."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_CONF = "camel.source.endpoint.allowDefaultCodec"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DOC = "The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_CONF = "camel.source.endpoint.autoAppendDelimiter"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DOC = "Whether or not to auto append missing end delimiter when sending using the textline codec."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_CONF = "camel.source.endpoint.decoderMaxLineLength"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DOC = "The max line length to use for the textline codec."; public static final Integer CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DEFAULT = 1024; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_CONF = "camel.source.endpoint.decoders"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_DOC = "A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_CONF = "camel.source.endpoint.delimiter"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_DOC = "The delimiter to use for the textline codec. Possible values are LINE and NULL. One of: [LINE] [NULL]"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_DEFAULT = "LINE"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_CONF = "camel.source.endpoint.encoders"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_DOC = "A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_CONF = "camel.source.endpoint.encoding"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_DOC = "The encoding (a charset name) to use for the textline codec. If not provided, Camel will use the JVM default Charset."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_CONF = "camel.source.endpoint.textline"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_DOC = "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_CONF = "camel.source.endpoint.enabledProtocols"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DOC = "Which protocols to enable when using SSL"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DEFAULT = "TLSv1.2,TLSv1.3"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_CONF = "camel.source.endpoint.keyStoreFile"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_DOC = "Client side certificate keystore to be used for encryption"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_CONF = "camel.source.endpoint.keyStoreFormat"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_DOC = "Keystore format to be used for payload encryption. Defaults to JKS if not set"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_CONF = "camel.source.endpoint.keyStoreResource"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DOC = "Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_CONF = "camel.source.endpoint.needClientAuth"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_DOC = "Configures whether the server needs client authentication when using SSL."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_CONF = "camel.source.endpoint.passphrase"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_DOC = "Password setting to use in order to encrypt/decrypt payloads sent using SSH"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_CONF = "camel.source.endpoint.securityProvider"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_DOC = "Security provider to be used for payload encryption. Defaults to SunX509 if not set."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONF = "camel.source.endpoint.ssl"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_DOC = "Setting to specify whether SSL encryption is applied to this endpoint"; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_SSL_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_CONF = "camel.source.endpoint.sslClientCertHeaders"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DOC = "When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range."; public static final Boolean CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_CONF = "camel.source.endpoint.sslContextParameters"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DOC = "To configure security using SSLContextParameters"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_CONF = "camel.source.endpoint.sslHandler"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_DOC = "Reference to a class that could be used to return an SSL Handler"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_CONF = "camel.source.endpoint.trustStoreFile"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_DOC = "Server side certificate keystore to be used for encryption"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_CONF = "camel.source.endpoint.trustStoreResource"; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DOC = "Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_CONF = "camel.component.netty.configuration"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_DOC = "To use the NettyConfiguration as configuration when creating endpoints."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_CONF = "camel.component.netty.disconnect"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_DOC = "Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_CONF = "camel.component.netty.keepAlive"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_DOC = "Setting to ensure socket is not closed due to inactivity"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_CONF = "camel.component.netty.reuseAddress"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_DOC = "Setting to facilitate socket multiplexing"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_CONF = "camel.component.netty.reuseChannel"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_DOC = "This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SYNC_CONF = "camel.component.netty.sync"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SYNC_DOC = "Setting to set endpoint as one-way or request-response"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_SYNC_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_CONF = "camel.component.netty.tcpNoDelay"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_DOC = "Setting to improve TCP protocol performance"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.netty.bridgeErrorHandler"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_CONF = "camel.component.netty.broadcast"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_DOC = "Setting to choose Multicast over UDP"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_CONF = "camel.component.netty.clientMode"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_DOC = "If the clientMode is true, netty consumer will connect the address as a TCP client."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_CONF = "camel.component.netty.reconnect"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_DOC = "Used only in clientMode in consumer, the consumer will attempt to reconnect on disconnection if this is enabled"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_CONF = "camel.component.netty.reconnectInterval"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_DOC = "Used if reconnect and clientMode is enabled. The interval in milli seconds to attempt reconnection"; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_DEFAULT = 10000; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_CONF = "camel.component.netty.backlog"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_DOC = "Allows to configure a backlog for netty consumer (server). Note the backlog is just a best effort depending on the OS. Setting this option to a value such as 200, 500 or 1000, tells the TCP stack how long the accept queue can be If this option is not configured, then the backlog depends on OS setting."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_CONF = "camel.component.netty.bossCount"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_DOC = "When netty works on nio mode, it uses default bossCount parameter from Netty, which is 1. User can use this option to override the default bossCount from Netty"; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_DEFAULT = 1; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_CONF = "camel.component.netty.bossGroup"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_DOC = "Set the BossGroup which could be used for handling the new connection of the server side across the NettyEndpoint"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_CONF = "camel.component.netty.disconnectOnNoReply"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_DOC = "If sync is enabled then this option dictates NettyConsumer if it should disconnect where there is no reply to send back."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_CONF = "camel.component.netty.executorService"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_DOC = "To use the given EventExecutorGroup."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_CONF = "camel.component.netty.maximumPoolSize"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_DOC = "Sets a maximum thread pool size for the netty consumer ordered thread pool. The default size is 2 x cpu_core plus 1. Setting this value to eg 10 will then use 10 threads unless 2 x cpu_core plus 1 is a higher value, which then will override and be used. For example if there are 8 cores, then the consumer thread pool will be 17. This thread pool is used to route messages received from Netty by Camel. We use a separate thread pool to ensure ordering of messages and also in case some messages will block, then nettys worker threads (event loop) wont be affected."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_CONF = "camel.component.netty.nettyServerBootstrapFactory"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_DOC = "To use a custom NettyServerBootstrapFactory"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_CONF = "camel.component.netty.networkInterface"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_DOC = "When using UDP then this option can be used to specify a network interface by its name, such as eth0 to join a multicast group."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_CONF = "camel.component.netty.noReplyLogLevel"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_DOC = "If sync is enabled this option dictates NettyConsumer which logging level to use when logging a there is no reply to send back. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_DEFAULT = "WARN"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_CONF = "camel.component.netty.serverClosedChannelExceptionCaughtLogLevel"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DOC = "If the server (NettyConsumer) catches an java.nio.channels.ClosedChannelException then its logged using this logging level. This is used to avoid logging the closed channel exceptions, as clients can disconnect abruptly and then cause a flood of closed exceptions in the Netty server. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT = "DEBUG"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_CONF = "camel.component.netty.serverExceptionCaughtLogLevel"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DOC = "If the server (NettyConsumer) catches an exception then its logged using this logging level. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT = "WARN"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_CONF = "camel.component.netty.serverInitializerFactory"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_DOC = "To use a custom ServerInitializerFactory"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_CONF = "camel.component.netty.usingExecutorService"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_DOC = "Whether to use ordered thread pool, to ensure events are processed orderly on the same channel."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_CONF = "camel.component.netty.hostnameVerification"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DOC = "To enable/disable hostname verification on SSLEngine"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_CONF = "camel.component.netty.allowSerializedHeaders"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Only used for TCP when transferExchange is true. When set to true, serializable objects in headers and properties will be added to the exchange. Otherwise Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.netty.autowiredEnabled"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_CONF = "camel.component.netty.channelGroup"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_DOC = "To use a explicit ChannelGroup."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_CONF = "camel.component.netty.nativeTransport"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_DOC = "Whether to use native transport instead of NIO. Native transport takes advantage of the host operating system and is only supported on some platforms. You need to add the netty JAR for the host operating system you are using. See more details at: http://netty.io/wiki/native-transports.html"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_CONF = "camel.component.netty.options"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_DOC = "Allows to configure additional netty options using option. as prefix. For example option.child.keepAlive=false to set the netty option child.keepAlive=false. See the Netty documentation for possible options that can be used."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_CONF = "camel.component.netty.receiveBufferSize"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during inbound communication. Size is bytes."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF = "camel.component.netty.receiveBufferSizePredictor"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC = "Configures the buffer size predictor. See details at Jetty documentation and this mail thread."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_CONF = "camel.component.netty.sendBufferSize"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during outbound communication. Size is bytes."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_CONF = "camel.component.netty.transferExchange"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_DOC = "Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_CONF = "camel.component.netty.udpByteArrayCodec"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DOC = "For UDP only. If enabled the using byte array codec instead of Java serialization protocol."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_CONF = "camel.component.netty.unixDomainSocketPath"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DOC = "Path to unix domain socket to use instead of inet socket. Host and port parameters will not be used, however required. It is ok to set dummy values for them. Must be used with nativeTransport=true and clientMode=false."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_CONF = "camel.component.netty.workerCount"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_DOC = "When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2). User can use this option to override the default workerCount from Netty."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_CONF = "camel.component.netty.workerGroup"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_DOC = "To use a explicit EventLoopGroup as the boss thread pool. For example to share a thread pool with multiple consumers or producers. By default each consumer or producer has their own worker pool with 2 x cpu count core threads."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_CONF = "camel.component.netty.allowDefaultCodec"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DOC = "The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_CONF = "camel.component.netty.autoAppendDelimiter"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DOC = "Whether or not to auto append missing end delimiter when sending using the textline codec."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DEFAULT = true; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_CONF = "camel.component.netty.decoderMaxLineLength"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DOC = "The max line length to use for the textline codec."; public static final Integer CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DEFAULT = 1024; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_CONF = "camel.component.netty.decoders"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_DOC = "A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_CONF = "camel.component.netty.delimiter"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_DOC = "The delimiter to use for the textline codec. Possible values are LINE and NULL. One of: [LINE] [NULL]"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_DEFAULT = "LINE"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_CONF = "camel.component.netty.encoders"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_DOC = "A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_CONF = "camel.component.netty.encoding"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_DOC = "The encoding (a charset name) to use for the textline codec. If not provided, Camel will use the JVM default Charset."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_CONF = "camel.component.netty.textline"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_DOC = "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_CONF = "camel.component.netty.enabledProtocols"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_DOC = "Which protocols to enable when using SSL"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_DEFAULT = "TLSv1.2,TLSv1.3"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_CONF = "camel.component.netty.keyStoreFile"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_DOC = "Client side certificate keystore to be used for encryption"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_CONF = "camel.component.netty.keyStoreFormat"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_DOC = "Keystore format to be used for payload encryption. Defaults to JKS if not set"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_CONF = "camel.component.netty.keyStoreResource"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_DOC = "Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_CONF = "camel.component.netty.needClientAuth"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_DOC = "Configures whether the server needs client authentication when using SSL."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_CONF = "camel.component.netty.passphrase"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_DOC = "Password setting to use in order to encrypt/decrypt payloads sent using SSH"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_CONF = "camel.component.netty.securityProvider"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_DOC = "Security provider to be used for payload encryption. Defaults to SunX509 if not set."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONF = "camel.component.netty.ssl"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_DOC = "Setting to specify whether SSL encryption is applied to this endpoint"; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_SSL_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_CONF = "camel.component.netty.sslClientCertHeaders"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DOC = "When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DEFAULT = false; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF = "camel.component.netty.sslContextParameters"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC = "To configure security using SSLContextParameters"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_CONF = "camel.component.netty.sslHandler"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_DOC = "Reference to a class that could be used to return an SSL Handler"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_CONF = "camel.component.netty.trustStoreFile"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_DOC = "Server side certificate keystore to be used for encryption"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_CONF = "camel.component.netty.trustStoreResource"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DOC = "Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_CONF = "camel.component.netty.useGlobalSslContextParameters"; public static final String CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DOC = "Enable usage of global SSL context parameters."; public static final Boolean CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DEFAULT = false; public CamelNettySourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelNettySourceConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_NETTY_PATH_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_PATH_PROTOCOL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_NETTY_PATH_PROTOCOL_DOC); conf.define(CAMEL_SOURCE_NETTY_PATH_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_PATH_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_NETTY_PATH_HOST_DOC); conf.define(CAMEL_SOURCE_NETTY_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_PATH_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_NETTY_PATH_PORT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_KEEP_ALIVE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_ADDRESS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_REUSE_CHANNEL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SYNC_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_TCP_NO_DELAY_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_BROADCAST_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_CLIENT_MODE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_RECONNECT_INTERVAL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_BACKLOG_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_COUNT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_BOSS_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_DISCONNECT_ON_NO_REPLY_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_EXCEPTION_HANDLER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_EXCHANGE_PATTERN_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_NETTY_SERVER_BOOTSTRAP_FACTORY_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_NETWORK_INTERFACE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_NO_REPLY_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SERVER_INITIALIZER_FACTORY_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_USING_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_CHANNEL_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_NATIVE_TRANSPORT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_OPTIONS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SYNCHRONOUS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_COUNT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_WORKER_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_DECODERS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_DELIMITER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_ENCODERS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_ENCODING_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_TEXTLINE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FILE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_FORMAT_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_NEED_CLIENT_AUTH_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_PASSPHRASE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SECURITY_PROVIDER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_SSL_HANDLER_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_FILE_DOC); conf.define(CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_CONFIGURATION_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_KEEP_ALIVE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_REUSE_ADDRESS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_REUSE_CHANNEL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SYNC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_SYNC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SYNC_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_TCP_NO_DELAY_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_BROADCAST_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_CLIENT_MODE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_RECONNECT_INTERVAL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_BACKLOG_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_BOSS_COUNT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_BOSS_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_DISCONNECT_ON_NO_REPLY_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_MAXIMUM_POOL_SIZE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_NETTY_SERVER_BOOTSTRAP_FACTORY_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_NETWORK_INTERFACE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_NO_REPLY_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_CLOSED_CHANNEL_EXCEPTION_CAUGHT_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_EXCEPTION_CAUGHT_LOG_LEVEL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SERVER_INITIALIZER_FACTORY_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_USING_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_CHANNEL_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_NATIVE_TRANSPORT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_OPTIONS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SEND_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_TRANSFER_EXCHANGE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_WORKER_COUNT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_WORKER_GROUP_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_DECODERS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_DELIMITER_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_ENCODERS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_ENCODING_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_TEXTLINE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_ENABLED_PROTOCOLS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FILE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_FORMAT_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_KEY_STORE_RESOURCE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_NEED_CLIENT_AUTH_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_PASSPHRASE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SECURITY_PROVIDER_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_SSL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SSL_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_SSL_HANDLER_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_FILE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DOC); conf.define(CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DOC); return conf; } }
8,635
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelNettySinkConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "netty"); }}; } }
8,636
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelNettySourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelNettySourceTask.class; } }
8,637
0
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-netty-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/netty/CamelNettySinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.netty; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNettySinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_NETTY_PATH_PROTOCOL_CONF = "camel.sink.path.protocol"; public static final String CAMEL_SINK_NETTY_PATH_PROTOCOL_DOC = "The protocol to use which can be tcp or udp. One of: [tcp] [udp]"; public static final String CAMEL_SINK_NETTY_PATH_PROTOCOL_DEFAULT = null; public static final String CAMEL_SINK_NETTY_PATH_HOST_CONF = "camel.sink.path.host"; public static final String CAMEL_SINK_NETTY_PATH_HOST_DOC = "The hostname. For the consumer the hostname is localhost or 0.0.0.0. For the producer the hostname is the remote host to connect to"; public static final String CAMEL_SINK_NETTY_PATH_HOST_DEFAULT = null; public static final String CAMEL_SINK_NETTY_PATH_PORT_CONF = "camel.sink.path.port"; public static final String CAMEL_SINK_NETTY_PATH_PORT_DOC = "The host port number"; public static final Integer CAMEL_SINK_NETTY_PATH_PORT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_CONF = "camel.sink.endpoint.disconnect"; public static final String CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_DOC = "Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_CONF = "camel.sink.endpoint.keepAlive"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_DOC = "Setting to ensure socket is not closed due to inactivity"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_CONF = "camel.sink.endpoint.reuseAddress"; public static final String CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_DOC = "Setting to facilitate socket multiplexing"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_CONF = "camel.sink.endpoint.reuseChannel"; public static final String CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_DOC = "This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_SYNC_CONF = "camel.sink.endpoint.sync"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SYNC_DOC = "Setting to set endpoint as one-way or request-response"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_SYNC_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_CONF = "camel.sink.endpoint.tcpNoDelay"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_DOC = "Setting to improve TCP protocol performance"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_CONF = "camel.sink.endpoint.connectTimeout"; public static final String CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_DOC = "Time to wait for a socket connection to be available. Value is in milliseconds."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_DEFAULT = 10000; public static final String CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_CONF = "camel.sink.endpoint.requestTimeout"; public static final String CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_DOC = "Allows to use a timeout for the Netty producer when calling a remote server. By default no timeout is in use. The value is in milli seconds, so eg 30000 is 30 seconds. The requestTimeout is using Netty's ReadTimeoutHandler to trigger the timeout."; public static final Long CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_CONF = "camel.sink.endpoint.clientInitializerFactory"; public static final String CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_DOC = "To use a custom ClientInitializerFactory"; public static final String CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_CONF = "camel.sink.endpoint.correlationManager"; public static final String CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_DOC = "To use a custom correlation manager to manage how request and reply messages are mapped when using request/reply with the netty producer. This should only be used if you have a way to map requests together with replies such as if there is correlation ids in both the request and reply messages. This can be used if you want to multiplex concurrent messages on the same channel (aka connection) in netty. When doing this you must have a way to correlate the request and reply messages so you can store the right reply on the inflight Camel Exchange before its continued routed. We recommend extending the TimeoutCorrelationManagerSupport when you build custom correlation managers. This provides support for timeout and other complexities you otherwise would need to implement as well. See also the producerPoolEnabled option for more details."; public static final String CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_CONF = "camel.sink.endpoint.lazyChannelCreation"; public static final String CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_DOC = "Channels can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; public static final String CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_CONF = "camel.sink.endpoint.producerPoolBlockWhenExhausted"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DOC = "Sets the value for the blockWhenExhausted configuration attribute. It determines whether to block when the borrowObject() method is invoked when the pool is exhausted (the maximum number of active objects has been reached)."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_CONF = "camel.sink.endpoint.producerPoolEnabled"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_DOC = "Whether producer pool is enabled or not. Important: If you turn this off then a single shared connection is used for the producer, also if you are doing request/reply. That means there is a potential issue with interleaved responses if replies comes back out-of-order. Therefore you need to have a correlation id in both the request and reply messages so you can properly correlate the replies to the Camel callback that is responsible for continue processing the message in Camel. To do this you need to implement NettyCamelStateCorrelationManager as correlation manager and configure it via the correlationManager option. See also the correlationManager option for more details."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_CONF = "camel.sink.endpoint.producerPoolMaxIdle"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_DOC = "Sets the cap on the number of idle instances in the pool."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_DEFAULT = 100; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_CONF = "camel.sink.endpoint.producerPoolMaxTotal"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_DOC = "Sets the cap on the number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time. Use a negative value for no limit."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_DEFAULT = -1; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_CONF = "camel.sink.endpoint.producerPoolMaxWait"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_DOC = "Sets the maximum duration (value in millis) the borrowObject() method should block before throwing an exception when the pool is exhausted and producerPoolBlockWhenExhausted is true. When less than 0, the borrowObject() method may block indefinitely."; public static final Long CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_DEFAULT = -1L; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_CONF = "camel.sink.endpoint.producerPoolMinEvictableIdle"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DOC = "Sets the minimum amount of time (value in millis) an object may sit idle in the pool before it is eligible for eviction by the idle object evictor."; public static final Long CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DEFAULT = 300000L; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_CONF = "camel.sink.endpoint.producerPoolMinIdle"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_DOC = "Sets the minimum number of instances allowed in the producer pool before the evictor thread (if active) spawns new objects."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_CONF = "camel.sink.endpoint.udpConnectionlessSending"; public static final String CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_DOC = "This option supports connection less udp sending which is a real fire and forget. A connected udp send receive the PortUnreachableException if no one is listen on the receiving port."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_CONF = "camel.sink.endpoint.useByteBuf"; public static final String CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_DOC = "If the useByteBuf is true, netty producer will turn the message body into ByteBuf before sending it out."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_CONF = "camel.sink.endpoint.hostnameVerification"; public static final String CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DOC = "To enable/disable hostname verification on SSLEngine"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_CONF = "camel.sink.endpoint.allowSerializedHeaders"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Only used for TCP when transferExchange is true. When set to true, serializable objects in headers and properties will be added to the exchange. Otherwise Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_CONF = "camel.sink.endpoint.channelGroup"; public static final String CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_DOC = "To use a explicit ChannelGroup."; public static final String CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_CONF = "camel.sink.endpoint.nativeTransport"; public static final String CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_DOC = "Whether to use native transport instead of NIO. Native transport takes advantage of the host operating system and is only supported on some platforms. You need to add the netty JAR for the host operating system you are using. See more details at: http://netty.io/wiki/native-transports.html"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_CONF = "camel.sink.endpoint.options"; public static final String CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_DOC = "Allows to configure additional netty options using option. as prefix. For example option.child.keepAlive=false to set the netty option child.keepAlive=false. See the Netty documentation for possible options that can be used."; public static final String CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_CONF = "camel.sink.endpoint.receiveBufferSize"; public static final String CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during inbound communication. Size is bytes."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF = "camel.sink.endpoint.receiveBufferSizePredictor"; public static final String CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC = "Configures the buffer size predictor. See details at Jetty documentation and this mail thread."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_CONF = "camel.sink.endpoint.sendBufferSize"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during outbound communication. Size is bytes."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_CONF = "camel.sink.endpoint.synchronous"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_CONF = "camel.sink.endpoint.transferExchange"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DOC = "Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_CONF = "camel.sink.endpoint.udpByteArrayCodec"; public static final String CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DOC = "For UDP only. If enabled the using byte array codec instead of Java serialization protocol."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_CONF = "camel.sink.endpoint.unixDomainSocketPath"; public static final String CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DOC = "Path to unix domain socket to use instead of inet socket. Host and port parameters will not be used, however required. It is ok to set dummy values for them. Must be used with nativeTransport=true and clientMode=false."; public static final String CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_CONF = "camel.sink.endpoint.workerCount"; public static final String CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_DOC = "When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2). User can use this option to override the default workerCount from Netty."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_CONF = "camel.sink.endpoint.workerGroup"; public static final String CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_DOC = "To use a explicit EventLoopGroup as the boss thread pool. For example to share a thread pool with multiple consumers or producers. By default each consumer or producer has their own worker pool with 2 x cpu count core threads."; public static final String CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_CONF = "camel.sink.endpoint.allowDefaultCodec"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DOC = "The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_CONF = "camel.sink.endpoint.autoAppendDelimiter"; public static final String CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DOC = "Whether or not to auto append missing end delimiter when sending using the textline codec."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DEFAULT = true; public static final String CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_CONF = "camel.sink.endpoint.decoderMaxLineLength"; public static final String CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DOC = "The max line length to use for the textline codec."; public static final Integer CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DEFAULT = 1024; public static final String CAMEL_SINK_NETTY_ENDPOINT_DECODERS_CONF = "camel.sink.endpoint.decoders"; public static final String CAMEL_SINK_NETTY_ENDPOINT_DECODERS_DOC = "A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SINK_NETTY_ENDPOINT_DECODERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_CONF = "camel.sink.endpoint.delimiter"; public static final String CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_DOC = "The delimiter to use for the textline codec. Possible values are LINE and NULL. One of: [LINE] [NULL]"; public static final String CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_DEFAULT = "LINE"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_CONF = "camel.sink.endpoint.encoders"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_DOC = "A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODING_CONF = "camel.sink.endpoint.encoding"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODING_DOC = "The encoding (a charset name) to use for the textline codec. If not provided, Camel will use the JVM default Charset."; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENCODING_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_CONF = "camel.sink.endpoint.textline"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_DOC = "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_CONF = "camel.sink.endpoint.enabledProtocols"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DOC = "Which protocols to enable when using SSL"; public static final String CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DEFAULT = "TLSv1.2,TLSv1.3"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_CONF = "camel.sink.endpoint.keyStoreFile"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_DOC = "Client side certificate keystore to be used for encryption"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_CONF = "camel.sink.endpoint.keyStoreFormat"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_DOC = "Keystore format to be used for payload encryption. Defaults to JKS if not set"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_CONF = "camel.sink.endpoint.keyStoreResource"; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DOC = "Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_CONF = "camel.sink.endpoint.passphrase"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_DOC = "Password setting to use in order to encrypt/decrypt payloads sent using SSH"; public static final String CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_CONF = "camel.sink.endpoint.securityProvider"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_DOC = "Security provider to be used for payload encryption. Defaults to SunX509 if not set."; public static final String CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CONF = "camel.sink.endpoint.ssl"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_DOC = "Setting to specify whether SSL encryption is applied to this endpoint"; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_SSL_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_CONF = "camel.sink.endpoint.sslClientCertHeaders"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DOC = "When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range."; public static final Boolean CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DEFAULT = false; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_CONF = "camel.sink.endpoint.sslContextParameters"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DOC = "To configure security using SSLContextParameters"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_CONF = "camel.sink.endpoint.sslHandler"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_DOC = "Reference to a class that could be used to return an SSL Handler"; public static final String CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_CONF = "camel.sink.endpoint.trustStoreFile"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_DOC = "Server side certificate keystore to be used for encryption"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_CONF = "camel.sink.endpoint.trustStoreResource"; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DOC = "Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_CONF = "camel.component.netty.configuration"; public static final String CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_DOC = "To use the NettyConfiguration as configuration when creating endpoints."; public static final String CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_CONF = "camel.component.netty.disconnect"; public static final String CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_DOC = "Whether or not to disconnect(close) from Netty Channel right after use. Can be used for both consumer and producer."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_CONF = "camel.component.netty.keepAlive"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_DOC = "Setting to ensure socket is not closed due to inactivity"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_CONF = "camel.component.netty.reuseAddress"; public static final String CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_DOC = "Setting to facilitate socket multiplexing"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_CONF = "camel.component.netty.reuseChannel"; public static final String CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_DOC = "This option allows producers and consumers (in client mode) to reuse the same Netty Channel for the lifecycle of processing the Exchange. This is useful if you need to call a server multiple times in a Camel route and want to use the same network connection. When using this, the channel is not returned to the connection pool until the Exchange is done; or disconnected if the disconnect option is set to true. The reused Channel is stored on the Exchange as an exchange property with the key NettyConstants#NETTY_CHANNEL which allows you to obtain the channel during routing and use it as well."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_SYNC_CONF = "camel.component.netty.sync"; public static final String CAMEL_SINK_NETTY_COMPONENT_SYNC_DOC = "Setting to set endpoint as one-way or request-response"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_SYNC_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_CONF = "camel.component.netty.tcpNoDelay"; public static final String CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_DOC = "Setting to improve TCP protocol performance"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_CONF = "camel.component.netty.connectTimeout"; public static final String CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_DOC = "Time to wait for a socket connection to be available. Value is in milliseconds."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_DEFAULT = 10000; public static final String CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.netty.lazyStartProducer"; public static final String CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_CONF = "camel.component.netty.requestTimeout"; public static final String CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_DOC = "Allows to use a timeout for the Netty producer when calling a remote server. By default no timeout is in use. The value is in milli seconds, so eg 30000 is 30 seconds. The requestTimeout is using Netty's ReadTimeoutHandler to trigger the timeout."; public static final Long CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_CONF = "camel.component.netty.clientInitializerFactory"; public static final String CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_DOC = "To use a custom ClientInitializerFactory"; public static final String CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_CONF = "camel.component.netty.correlationManager"; public static final String CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_DOC = "To use a custom correlation manager to manage how request and reply messages are mapped when using request/reply with the netty producer. This should only be used if you have a way to map requests together with replies such as if there is correlation ids in both the request and reply messages. This can be used if you want to multiplex concurrent messages on the same channel (aka connection) in netty. When doing this you must have a way to correlate the request and reply messages so you can store the right reply on the inflight Camel Exchange before its continued routed. We recommend extending the TimeoutCorrelationManagerSupport when you build custom correlation managers. This provides support for timeout and other complexities you otherwise would need to implement as well. See also the producerPoolEnabled option for more details."; public static final String CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_CONF = "camel.component.netty.lazyChannelCreation"; public static final String CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_DOC = "Channels can be lazily created to avoid exceptions, if the remote server is not up and running when the Camel producer is started."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_CONF = "camel.component.netty.producerPoolBlockWhenExhausted"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DOC = "Sets the value for the blockWhenExhausted configuration attribute. It determines whether to block when the borrowObject() method is invoked when the pool is exhausted (the maximum number of active objects has been reached)."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_CONF = "camel.component.netty.producerPoolEnabled"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_DOC = "Whether producer pool is enabled or not. Important: If you turn this off then a single shared connection is used for the producer, also if you are doing request/reply. That means there is a potential issue with interleaved responses if replies comes back out-of-order. Therefore you need to have a correlation id in both the request and reply messages so you can properly correlate the replies to the Camel callback that is responsible for continue processing the message in Camel. To do this you need to implement NettyCamelStateCorrelationManager as correlation manager and configure it via the correlationManager option. See also the correlationManager option for more details."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_CONF = "camel.component.netty.producerPoolMaxIdle"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_DOC = "Sets the cap on the number of idle instances in the pool."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_DEFAULT = 100; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_CONF = "camel.component.netty.producerPoolMaxTotal"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_DOC = "Sets the cap on the number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time. Use a negative value for no limit."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_DEFAULT = -1; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_CONF = "camel.component.netty.producerPoolMaxWait"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_DOC = "Sets the maximum duration (value in millis) the borrowObject() method should block before throwing an exception when the pool is exhausted and producerPoolBlockWhenExhausted is true. When less than 0, the borrowObject() method may block indefinitely."; public static final Long CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_DEFAULT = -1L; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_CONF = "camel.component.netty.producerPoolMinEvictableIdle"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DOC = "Sets the minimum amount of time (value in millis) an object may sit idle in the pool before it is eligible for eviction by the idle object evictor."; public static final Long CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DEFAULT = 300000L; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_CONF = "camel.component.netty.producerPoolMinIdle"; public static final String CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_DOC = "Sets the minimum number of instances allowed in the producer pool before the evictor thread (if active) spawns new objects."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_CONF = "camel.component.netty.udpConnectionlessSending"; public static final String CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_DOC = "This option supports connection less udp sending which is a real fire and forget. A connected udp send receive the PortUnreachableException if no one is listen on the receiving port."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_CONF = "camel.component.netty.useByteBuf"; public static final String CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_DOC = "If the useByteBuf is true, netty producer will turn the message body into ByteBuf before sending it out."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_CONF = "camel.component.netty.hostnameVerification"; public static final String CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DOC = "To enable/disable hostname verification on SSLEngine"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_CONF = "camel.component.netty.allowSerializedHeaders"; public static final String CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Only used for TCP when transferExchange is true. When set to true, serializable objects in headers and properties will be added to the exchange. Otherwise Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.netty.autowiredEnabled"; public static final String CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_CONF = "camel.component.netty.channelGroup"; public static final String CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_DOC = "To use a explicit ChannelGroup."; public static final String CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_CONF = "camel.component.netty.nativeTransport"; public static final String CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_DOC = "Whether to use native transport instead of NIO. Native transport takes advantage of the host operating system and is only supported on some platforms. You need to add the netty JAR for the host operating system you are using. See more details at: http://netty.io/wiki/native-transports.html"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_OPTIONS_CONF = "camel.component.netty.options"; public static final String CAMEL_SINK_NETTY_COMPONENT_OPTIONS_DOC = "Allows to configure additional netty options using option. as prefix. For example option.child.keepAlive=false to set the netty option child.keepAlive=false. See the Netty documentation for possible options that can be used."; public static final String CAMEL_SINK_NETTY_COMPONENT_OPTIONS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_CONF = "camel.component.netty.receiveBufferSize"; public static final String CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during inbound communication. Size is bytes."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF = "camel.component.netty.receiveBufferSizePredictor"; public static final String CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC = "Configures the buffer size predictor. See details at Jetty documentation and this mail thread."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_CONF = "camel.component.netty.sendBufferSize"; public static final String CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_DOC = "The TCP/UDP buffer sizes to be used during outbound communication. Size is bytes."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_DEFAULT = 65536; public static final String CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_CONF = "camel.component.netty.transferExchange"; public static final String CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_DOC = "Only used for TCP. You can transfer the exchange over the wire instead of just the body. The following fields are transferred: In body, Out body, fault body, In headers, Out headers, fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_CONF = "camel.component.netty.udpByteArrayCodec"; public static final String CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DOC = "For UDP only. If enabled the using byte array codec instead of Java serialization protocol."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_CONF = "camel.component.netty.unixDomainSocketPath"; public static final String CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DOC = "Path to unix domain socket to use instead of inet socket. Host and port parameters will not be used, however required. It is ok to set dummy values for them. Must be used with nativeTransport=true and clientMode=false."; public static final String CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_CONF = "camel.component.netty.workerCount"; public static final String CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_DOC = "When netty works on nio mode, it uses default workerCount parameter from Netty (which is cpu_core_threads x 2). User can use this option to override the default workerCount from Netty."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_CONF = "camel.component.netty.workerGroup"; public static final String CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_DOC = "To use a explicit EventLoopGroup as the boss thread pool. For example to share a thread pool with multiple consumers or producers. By default each consumer or producer has their own worker pool with 2 x cpu count core threads."; public static final String CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_CONF = "camel.component.netty.allowDefaultCodec"; public static final String CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DOC = "The netty component installs a default codec if both, encoder/decoder is null and textline is false. Setting allowDefaultCodec to false prevents the netty component from installing a default codec as the first element in the filter chain."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_CONF = "camel.component.netty.autoAppendDelimiter"; public static final String CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DOC = "Whether or not to auto append missing end delimiter when sending using the textline codec."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DEFAULT = true; public static final String CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_CONF = "camel.component.netty.decoderMaxLineLength"; public static final String CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DOC = "The max line length to use for the textline codec."; public static final Integer CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DEFAULT = 1024; public static final String CAMEL_SINK_NETTY_COMPONENT_DECODERS_CONF = "camel.component.netty.decoders"; public static final String CAMEL_SINK_NETTY_COMPONENT_DECODERS_DOC = "A list of decoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SINK_NETTY_COMPONENT_DECODERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_DELIMITER_CONF = "camel.component.netty.delimiter"; public static final String CAMEL_SINK_NETTY_COMPONENT_DELIMITER_DOC = "The delimiter to use for the textline codec. Possible values are LINE and NULL. One of: [LINE] [NULL]"; public static final String CAMEL_SINK_NETTY_COMPONENT_DELIMITER_DEFAULT = "LINE"; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODERS_CONF = "camel.component.netty.encoders"; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODERS_DOC = "A list of encoders to be used. You can use a String which have values separated by comma, and have the values be looked up in the Registry. Just remember to prefix the value with # so Camel knows it should lookup."; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODING_CONF = "camel.component.netty.encoding"; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODING_DOC = "The encoding (a charset name) to use for the textline codec. If not provided, Camel will use the JVM default Charset."; public static final String CAMEL_SINK_NETTY_COMPONENT_ENCODING_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_CONF = "camel.component.netty.textline"; public static final String CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_DOC = "Only used for TCP. If no codec is specified, you can use this flag to indicate a text line based codec; if not specified or the value is false, then Object Serialization is assumed over TCP - however only Strings are allowed to be serialized by default."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_CONF = "camel.component.netty.enabledProtocols"; public static final String CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_DOC = "Which protocols to enable when using SSL"; public static final String CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_DEFAULT = "TLSv1.2,TLSv1.3"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_CONF = "camel.component.netty.keyStoreFile"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_DOC = "Client side certificate keystore to be used for encryption"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_CONF = "camel.component.netty.keyStoreFormat"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_DOC = "Keystore format to be used for payload encryption. Defaults to JKS if not set"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_CONF = "camel.component.netty.keyStoreResource"; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_DOC = "Client side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_CONF = "camel.component.netty.passphrase"; public static final String CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_DOC = "Password setting to use in order to encrypt/decrypt payloads sent using SSH"; public static final String CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_CONF = "camel.component.netty.securityProvider"; public static final String CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_DOC = "Security provider to be used for payload encryption. Defaults to SunX509 if not set."; public static final String CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CONF = "camel.component.netty.ssl"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_DOC = "Setting to specify whether SSL encryption is applied to this endpoint"; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_SSL_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_CONF = "camel.component.netty.sslClientCertHeaders"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DOC = "When enabled and in SSL mode, then the Netty consumer will enrich the Camel Message with headers having information about the client certificate such as subject name, issuer name, serial number, and the valid date range."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DEFAULT = false; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF = "camel.component.netty.sslContextParameters"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC = "To configure security using SSLContextParameters"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_CONF = "camel.component.netty.sslHandler"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_DOC = "Reference to a class that could be used to return an SSL Handler"; public static final String CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_CONF = "camel.component.netty.trustStoreFile"; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_DOC = "Server side certificate keystore to be used for encryption"; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_CONF = "camel.component.netty.trustStoreResource"; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DOC = "Server side certificate keystore to be used for encryption. Is loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems."; public static final String CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DEFAULT = null; public static final String CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_CONF = "camel.component.netty.useGlobalSslContextParameters"; public static final String CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DOC = "Enable usage of global SSL context parameters."; public static final Boolean CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DEFAULT = false; public CamelNettySinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelNettySinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_NETTY_PATH_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_PATH_PROTOCOL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_NETTY_PATH_PROTOCOL_DOC); conf.define(CAMEL_SINK_NETTY_PATH_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_PATH_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_NETTY_PATH_HOST_DOC); conf.define(CAMEL_SINK_NETTY_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_PATH_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_NETTY_PATH_PORT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_DISCONNECT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_KEEP_ALIVE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_REUSE_ADDRESS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_REUSE_CHANNEL_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SYNC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_SYNC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SYNC_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_TCP_NO_DELAY_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_CONNECT_TIMEOUT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_REQUEST_TIMEOUT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_CLIENT_INITIALIZER_FACTORY_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_CORRELATION_MANAGER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_LAZY_CHANNEL_CREATION_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_ENABLED_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_TOTAL_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MAX_WAIT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PRODUCER_POOL_MIN_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_UDP_CONNECTIONLESS_SENDING_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_USE_BYTE_BUF_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_HOSTNAME_VERIFICATION_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_CHANNEL_GROUP_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_NATIVE_TRANSPORT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_OPTIONS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SEND_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SYNCHRONOUS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_TRANSFER_EXCHANGE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_UDP_BYTE_ARRAY_CODEC_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_UNIX_DOMAIN_SOCKET_PATH_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_WORKER_COUNT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_WORKER_GROUP_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_ALLOW_DEFAULT_CODEC_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_AUTO_APPEND_DELIMITER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_DECODER_MAX_LINE_LENGTH_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_DECODERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_DECODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_DECODERS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_DELIMITER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_ENCODERS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_ENCODING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_ENCODING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_ENCODING_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_TEXTLINE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_ENABLED_PROTOCOLS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FILE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_FORMAT_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_KEY_STORE_RESOURCE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_PASSPHRASE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SECURITY_PROVIDER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SSL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_SSL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SSL_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SSL_CLIENT_CERT_HEADERS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SSL_CONTEXT_PARAMETERS_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_SSL_HANDLER_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_FILE_DOC); conf.define(CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_ENDPOINT_TRUST_STORE_RESOURCE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_CONFIGURATION_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_DISCONNECT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_KEEP_ALIVE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_REUSE_ADDRESS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_REUSE_CHANNEL_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SYNC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_SYNC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SYNC_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_TCP_NO_DELAY_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_CONNECT_TIMEOUT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_REQUEST_TIMEOUT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_CLIENT_INITIALIZER_FACTORY_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_CORRELATION_MANAGER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_LAZY_CHANNEL_CREATION_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_BLOCK_WHEN_EXHAUSTED_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_ENABLED_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_TOTAL_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MAX_WAIT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_CONF, ConfigDef.Type.LONG, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_EVICTABLE_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PRODUCER_POOL_MIN_IDLE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_UDP_CONNECTIONLESS_SENDING_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_USE_BYTE_BUF_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_HOSTNAME_VERIFICATION_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_CHANNEL_GROUP_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_NATIVE_TRANSPORT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_OPTIONS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_OPTIONS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_OPTIONS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_RECEIVE_BUFFER_SIZE_PREDICTOR_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SEND_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_TRANSFER_EXCHANGE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_UDP_BYTE_ARRAY_CODEC_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_UNIX_DOMAIN_SOCKET_PATH_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_WORKER_COUNT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_WORKER_GROUP_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_ALLOW_DEFAULT_CODEC_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_AUTO_APPEND_DELIMITER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_CONF, ConfigDef.Type.INT, CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_DECODER_MAX_LINE_LENGTH_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_DECODERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_DECODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_DECODERS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_DELIMITER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_DELIMITER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_ENCODERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_ENCODERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_ENCODERS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_ENCODING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_ENCODING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_ENCODING_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_TEXTLINE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_ENABLED_PROTOCOLS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FILE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_FORMAT_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_KEY_STORE_RESOURCE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_PASSPHRASE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SECURITY_PROVIDER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SSL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_SSL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SSL_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SSL_CLIENT_CERT_HEADERS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_SSL_HANDLER_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_FILE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_TRUST_STORE_RESOURCE_DOC); conf.define(CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_NETTY_COMPONENT_USE_GLOBAL_SSL_CONTEXT_PARAMETERS_DOC); return conf; } }
8,638
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_CONF = "camel.sink.path.directoryName"; public static final String CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_DOC = "The starting directory"; public static final String CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_CHARSET_CONF = "camel.sink.endpoint.charset"; public static final String CAMEL_SINK_FILE_ENDPOINT_CHARSET_DOC = "This option is used to specify the encoding of the file. You can use this on the consumer, to specify the encodings of the files, which allow Camel to know the charset it should load the file content in case the file content is being accessed. Likewise when writing a file, you can use this option to specify which charset to write the file as well. Do mind that when writing the file Camel may have to read the message content into memory to be able to convert the data into the configured charset, so do not use this if you have big messages."; public static final String CAMEL_SINK_FILE_ENDPOINT_CHARSET_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_CONF = "camel.sink.endpoint.doneFileName"; public static final String CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_DOC = "Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The done file will always be written in the same folder as the original file. Consumer: If provided, Camel will only consume files if a done file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders.The done file is always expected in the same folder as the original file. Only ${file.name} and ${file.name.next} is supported as dynamic placeholders."; public static final String CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_CONF = "camel.sink.endpoint.fileName"; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_DOC = "Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type, it is always evaluated using the File Language. If the expression is an Expression type, the specified Expression type is used - this allows you, for instance, to use OGNL expressions. For the consumer, you can use it to filter filenames, so you can for instance consume today's file using the File Language syntax: mydata-${date:now:yyyyMMdd}.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once, and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards."; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_CONF = "camel.sink.endpoint.appendChars"; public static final String CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_DOC = "Used to append characters (text) after writing files. This can for example be used to add new lines or other separators when writing and appending new files or existing files. To specify new-line (slash-n or slash-r) or tab (slash-t) characters then escape with an extra slash, eg slash-slash-n."; public static final String CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_CONF = "camel.sink.endpoint.fileExist"; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_DOC = "What to do if a file already exists with the same name. Override, which is the default, replaces the existing file. - Append - adds content to the existing file. - Fail - throws a GenericFileOperationException, indicating that there is already an existing file. - Ignore - silently ignores the problem and does not override the existing file, but assumes everything is okay. - Move - option requires to use the moveExisting option to be configured as well. The option eagerDeleteTargetFile can be used to control what to do if an moving the file, and there exists already an existing file, otherwise causing the move operation to fail. The Move option will move any existing files, before writing the target file. - TryRename is only applicable if tempFileName option is in use. This allows to try renaming the file from the temporary name to the actual name, without doing any exists check. This check may be faster on some file systems and especially FTP servers. One of: [Override] [Append] [Fail] [Ignore] [Move] [TryRename]"; public static final String CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_DEFAULT = "Override"; public static final String CAMEL_SINK_FILE_ENDPOINT_FLATTEN_CONF = "camel.sink.endpoint.flatten"; public static final String CAMEL_SINK_FILE_ENDPOINT_FLATTEN_DOC = "Flatten is used to flatten the file name path to strip any leading paths, so it's just the file name. This allows you to consume recursively into sub-directories, but when you eg write the files to another directory they will be written in a single directory. Setting this to true on the producer enforces that any file name in CamelFileName header will be stripped for any leading paths."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_FLATTEN_DEFAULT = false; public static final String CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_CONF = "camel.sink.endpoint.jailStartingDirectory"; public static final String CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_DOC = "Used for jailing (restricting) writing files to the starting directory (and sub) only. This is enabled by default to not allow Camel to write files to outside directories (to be more secured out of the box). You can turn this off to allow writing files to directories outside the starting directory, such as parent or root folders."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_DEFAULT = true; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_CONF = "camel.sink.endpoint.moveExisting"; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_DOC = "Expression (such as File Language) used to compute file name to use when fileExist=Move is configured. To move files into a backup subdirectory just enter backup. This option only supports the following File Language tokens: file:name, file:name.ext, file:name.noext, file:onlyname, file:onlyname.noext, file:ext, and file:parent. Notice the file:parent is not supported by the FTP component, as the FTP component can only move any existing files to a relative directory based on current dir as base."; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_CONF = "camel.sink.endpoint.tempFileName"; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_DOC = "The same as tempPrefix option but offering a more fine grained control on the naming of the temporary filename as it uses the File Language. The location for tempFilename is relative to the final file location in the option 'fileName', not the target directory in the base uri. For example if option fileName includes a directory prefix: dir/finalFilename then tempFileName is relative to that subdirectory dir."; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_CONF = "camel.sink.endpoint.tempPrefix"; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_DOC = "This option is used to write the file using a temporary name and then, after the write is complete, rename it to the real name. Can be used to identify files being written and also avoid consumers (not using exclusive read locks) reading in progress files. Is often used by FTP when uploading big files."; public static final String CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_CONF = "camel.sink.endpoint.allowNullBody"; public static final String CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_DOC = "Used to specify if a null body is allowed during file writing. If set to true then an empty file will be created, when set to false, and attempting to send a null body to the file component, a GenericFileWriteException of 'Cannot write null body to file.' will be thrown. If the fileExist option is set to 'Override', then the file will be truncated, and if set to append the file will remain unchanged."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_DEFAULT = false; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_CONF = "camel.sink.endpoint.chmod"; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_DOC = "Specify the file permissions which is sent by the producer, the chmod value must be between 000 and 777; If there is a leading digit like in 0755 we will ignore it."; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_CONF = "camel.sink.endpoint.chmodDirectory"; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_DOC = "Specify the directory permissions used when the producer creates missing directories, the chmod value must be between 000 and 777; If there is a leading digit like in 0755 we will ignore it."; public static final String CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_CONF = "camel.sink.endpoint.eagerDeleteTargetFile"; public static final String CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_DOC = "Whether or not to eagerly delete any existing target file. This option only applies when you use fileExists=Override and the tempFileName option as well. You can use this to disable (set it to false) deleting the target file before the temp file is written. For example you may write big files and want the target file to exists during the temp file is being written. This ensure the target file is only deleted until the very last moment, just before the temp file is being renamed to the target filename. This option is also used to control whether to delete any existing files when fileExist=Move is enabled, and an existing file exists. If this option copyAndDeleteOnRenameFails false, then an exception will be thrown if an existing file existed, if its true, then the existing file is deleted before the move operation."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_DEFAULT = true; public static final String CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_CONF = "camel.sink.endpoint.forceWrites"; public static final String CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_DOC = "Whether to force syncing writes to the file system. You can turn this off if you do not want this level of guarantee, for example if writing to logs / audit logs etc; this would yield better performance."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_DEFAULT = true; public static final String CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_CONF = "camel.sink.endpoint.keepLastModified"; public static final String CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_DOC = "Will keep the last modified timestamp from the source file (if any). Will use the FileConstants.FILE_LAST_MODIFIED header to located the timestamp. This header can contain either a java.util.Date or long with the timestamp. If the timestamp exists and the option is enabled it will set this timestamp on the written file. Note: This option only applies to the file producer. You cannot use this option with any of the ftp producers."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_DEFAULT = false; public static final String CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; public static final String CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_CONF = "camel.sink.endpoint.moveExistingFileStrategy"; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_DOC = "Strategy (Custom Strategy) used to move file with special naming token to use when fileExist=Move is configured. By default, there is an implementation used if no custom strategy is provided"; public static final String CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_DEFAULT = null; public static final String CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_CONF = "camel.sink.endpoint.autoCreate"; public static final String CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_DOC = "Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_DEFAULT = true; public static final String CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_CONF = "camel.sink.endpoint.bufferSize"; public static final String CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_DOC = "Buffer size in bytes used for writing files (or in case of FTP for downloading and uploading files)."; public static final Integer CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_DEFAULT = 131072; public static final String CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_CONF = "camel.sink.endpoint.copyAndDeleteOnRenameFail"; public static final String CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DOC = "Whether to fallback and do a copy and delete file, in case the file could not be renamed directly. This option is not available for the FTP component."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DEFAULT = true; public static final String CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_CONF = "camel.sink.endpoint.renameUsingCopy"; public static final String CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_DOC = "Perform rename operations using a copy and delete strategy. This is primarily used in environments where the regular rename operation is unreliable (e.g. across different file systems or networks). This option takes precedence over the copyAndDeleteOnRenameFail parameter that will automatically fall back to the copy and delete strategy, but only after additional delays."; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_DEFAULT = false; public static final String CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_CONF = "camel.sink.endpoint.synchronous"; public static final String CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used"; public static final Boolean CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_DEFAULT = false; public static final String CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.file.lazyStartProducer"; public static final String CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.file.autowiredEnabled"; public static final String CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.file.healthCheckConsumerEnabled"; public static final String CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component"; public static final Boolean CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.file.healthCheckProducerEnabled"; public static final String CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."; public static final Boolean CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true; public CamelFileSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelFileSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_FILE_PATH_DIRECTORY_NAME_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_CHARSET_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_CHARSET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_CHARSET_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_DONE_FILE_NAME_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_FILE_NAME_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_APPEND_CHARS_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_FILE_EXIST_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_FLATTEN_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_FLATTEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_FLATTEN_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_JAIL_STARTING_DIRECTORY_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_TEMP_FILE_NAME_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_TEMP_PREFIX_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_ALLOW_NULL_BODY_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_CHMOD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_CHMOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_CHMOD_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_CHMOD_DIRECTORY_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_EAGER_DELETE_TARGET_FILE_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_FORCE_WRITES_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_KEEP_LAST_MODIFIED_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_MOVE_EXISTING_FILE_STRATEGY_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_AUTO_CREATE_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_BUFFER_SIZE_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_RENAME_USING_COPY_DOC); conf.define(CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_ENDPOINT_SYNCHRONOUS_DOC); conf.define(CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC); conf.define(CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC); return conf; } }
8,639
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelFileSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelFileSourceTask.class; } }
8,640
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelFileSourceConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "file"); }}; } }
8,641
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelFileSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelFileSinkTask.class; } }
8,642
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelFileSinkConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "file"); }}; } }
8,643
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelFileSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_CONF = "camel.source.path.directoryName"; public static final String CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_DOC = "The starting directory"; public static final String CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_CONF = "camel.source.endpoint.charset"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_DOC = "This option is used to specify the encoding of the file. You can use this on the consumer, to specify the encodings of the files, which allow Camel to know the charset it should load the file content in case the file content is being accessed. Likewise when writing a file, you can use this option to specify which charset to write the file as well. Do mind that when writing the file Camel may have to read the message content into memory to be able to convert the data into the configured charset, so do not use this if you have big messages."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_CONF = "camel.source.endpoint.doneFileName"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_DOC = "Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The done file will always be written in the same folder as the original file. Consumer: If provided, Camel will only consume files if a done file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders.The done file is always expected in the same folder as the original file. Only ${file.name} and ${file.name.next} is supported as dynamic placeholders."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_CONF = "camel.source.endpoint.fileName"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_DOC = "Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type, it is always evaluated using the File Language. If the expression is an Expression type, the specified Expression type is used - this allows you, for instance, to use OGNL expressions. For the consumer, you can use it to filter filenames, so you can for instance consume today's file using the File Language syntax: mydata-${date:now:yyyyMMdd}.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once, and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DELETE_CONF = "camel.source.endpoint.delete"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DELETE_DOC = "If true, the file will be deleted after it is processed successfully."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_DELETE_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_CONF = "camel.source.endpoint.moveFailed"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_DOC = "Sets the move failure expression based on Simple language. For example, to move files into a .error subdirectory use: .error. Note: When moving the files to the fail location Camel will handle the error and will not pick up the file again."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_NOOP_CONF = "camel.source.endpoint.noop"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_NOOP_DOC = "If true, the file is not moved or deleted in any way. This option is good for readonly data, or for ETL type requirements. If noop=true, Camel will set idempotent=true as well, to avoid consuming the same files over and over again."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_NOOP_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_CONF = "camel.source.endpoint.preMove"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_DOC = "Expression (such as File Language) used to dynamically set the filename when moving it before processing. For example to move in-progress files into the order directory set this value to order."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_CONF = "camel.source.endpoint.preSort"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_DOC = "When pre-sort is enabled then the consumer will sort the file and directory names during polling, that was retrieved from the file system. You may want to do this in case you need to operate on the files in a sorted order. The pre-sort is executed before the consumer starts to filter, and accept files to process by Camel. This option is default=false meaning disabled."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_CONF = "camel.source.endpoint.recursive"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_DOC = "If a directory, will look for files in all the sub-directories as well."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF = "camel.source.endpoint.sendEmptyMessageWhenIdle"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC = "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_CONF = "camel.source.endpoint.directoryMustExist"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_DOC = "Similar to the startingDirectoryMustExist option but this applies during polling (after starting the consumer)."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut]"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_CONF = "camel.source.endpoint.extendedAttributes"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_DOC = "To define which file attributes of interest. Like posix:permissions,posix:owner,basic:lastAccessTime, it supports basic wildcard like posix:, basic:lastAccessTime"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_CONF = "camel.source.endpoint.includeHiddenFiles"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_DOC = "Whether to accept hidden files. Files which names starts with dot is regarded as a hidden file, and by default not included. Set this option to true to include hidden files in the file consumer."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_CONF = "camel.source.endpoint.inProgressRepository"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_DOC = "A pluggable in-progress repository org.apache.camel.spi.IdempotentRepository. The in-progress repository is used to account the current in progress files being consumed. By default a memory based repository is used."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_CONF = "camel.source.endpoint.localWorkDirectory"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_DOC = "When consuming, a local work directory can be used to store the remote file content directly in local files, to avoid loading the content into memory. This is beneficial, if you consume a very big remote file and thus can conserve memory."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.onCompletionExceptionHandler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_DOC = "To use a custom org.apache.camel.spi.ExceptionHandler to handle any thrown exceptions that happens during the file on completion process where the consumer does either a commit or rollback. The default implementation will log any exception at WARN level and ignore."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_CONF = "camel.source.endpoint.pollStrategy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_DOC = "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_CONF = "camel.source.endpoint.probeContentType"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_DOC = "Whether to enable probing of the content type. If enable then the consumer uses Files#probeContentType(java.nio.file.Path) to determine the content-type of the file, and store that as a header with key Exchange#FILE_CONTENT_TYPE on the Message."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_CONF = "camel.source.endpoint.processStrategy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_DOC = "A pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing you to implement your own readLock option or similar. Can also be used when special conditions must be met before a file can be consumed, such as a special ready file exists. If this option is set then the readLock option does not apply."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_CONF = "camel.source.endpoint.startingDirectoryMustExist"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_DOC = "Whether the starting directory must exist. Mind that the autoCreate option is default enabled, which means the starting directory is normally auto created if it doesn't exist. You can disable autoCreate and enable this to ensure the starting directory must exist. Will thrown an exception if the directory doesn't exist."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_CONF = "camel.source.endpoint.startingDirectoryMustHaveAccess"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_DOC = "Whether the starting directory has access permissions. Mind that the startingDirectoryMustExist parameter must be set to true in order to verify that the directory exists. Will thrown an exception if the directory doesn't have read and write permissions."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_CONF = "camel.source.endpoint.autoCreate"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_DOC = "Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_CONF = "camel.source.endpoint.bufferSize"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_DOC = "Buffer size in bytes used for writing files (or in case of FTP for downloading and uploading files)."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_DEFAULT = 131072; public static final String CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_CONF = "camel.source.endpoint.copyAndDeleteOnRenameFail"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DOC = "Whether to fallback and do a copy and delete file, in case the file could not be renamed directly. This option is not available for the FTP component."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_CONF = "camel.source.endpoint.renameUsingCopy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_DOC = "Perform rename operations using a copy and delete strategy. This is primarily used in environments where the regular rename operation is unreliable (e.g. across different file systems or networks). This option takes precedence over the copyAndDeleteOnRenameFail parameter that will automatically fall back to the copy and delete strategy, but only after additional delays."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_CONF = "camel.source.endpoint.synchronous"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used"; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_CONF = "camel.source.endpoint.antExclude"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_DOC = "Ant style filter exclusion. If both antInclude and antExclude are used, antExclude takes precedence over antInclude. Multiple exclusions may be specified in comma-delimited format."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_CONF = "camel.source.endpoint.antFilterCaseSensitive"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_DOC = "Sets case sensitive flag on ant filter."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_CONF = "camel.source.endpoint.antInclude"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_DOC = "Ant style filter inclusion. Multiple inclusions may be specified in comma-delimited format."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.eagerMaxMessagesPerPoll"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_DOC = "Allows for controlling whether the limit from maxMessagesPerPoll is eager or not. If eager then the limit is during the scanning of files. Where as false would scan all files, and then perform sorting. Setting this option to false allows for sorting all files first, and then limit the poll. Mind that this requires a higher memory usage as all file details are in memory to perform the sorting."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_CONF = "camel.source.endpoint.exclude"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_DOC = "Is used to exclude files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_CONF = "camel.source.endpoint.excludeExt"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_DOC = "Is used to exclude files matching file extension name (case insensitive). For example to exclude bak files, then use excludeExt=bak. Multiple extensions can be separated by comma, for example to exclude bak and dat files, use excludeExt=bak,dat. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_CONF = "camel.source.endpoint.filter"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DOC = "Pluggable filter as a org.apache.camel.component.file.GenericFileFilter class. Will skip files if filter returns false in its accept() method."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_CONF = "camel.source.endpoint.filterDirectory"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_DOC = "Filters the directory based on Simple language. For example to filter on current date, you can use a simple date pattern such as ${date:now:yyyMMdd}"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_CONF = "camel.source.endpoint.filterFile"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_DOC = "Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_CONF = "camel.source.endpoint.idempotent"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_DOC = "Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_DEFAULT = "false"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_CONF = "camel.source.endpoint.idempotentKey"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DOC = "To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size}"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_CONF = "camel.source.endpoint.idempotentRepository"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_CONF = "camel.source.endpoint.include"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_DOC = "Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_CONF = "camel.source.endpoint.includeExt"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_DOC = "Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_CONF = "camel.source.endpoint.maxDepth"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_DOC = "The maximum depth to traverse when recursively processing a directory."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_DEFAULT = 2147483647; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.maxMessagesPerPoll"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "To define a maximum messages to gather per poll. By default no maximum is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Set a value of 0 or negative to disabled it. Notice: If this option is in use then the File and FTP components will limit before any sorting. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up, and then sorted. You can use the eagerMaxMessagesPerPoll option and set this to false to allow to scan all files first and then sort afterwards."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_CONF = "camel.source.endpoint.minDepth"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_DOC = "The minimum depth to start processing when recursively processing a directory. Using minDepth=1 means the base directory. Using minDepth=2 means the first sub directory."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_CONF = "camel.source.endpoint.move"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_DOC = "Expression (such as Simple Language) used to dynamically set the filename when moving it after processing. To move files into a .done subdirectory just enter .done."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_MOVE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_CONF = "camel.source.endpoint.exclusiveReadLockStrategy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_DOC = "Pluggable read-lock as a org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy implementation."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CONF = "camel.source.endpoint.readLock"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DOC = "Used by consumer, to only poll the files if it has exclusive read-lock on the file (i.e. the file is not in-progress or being written). Camel will wait until the file lock is granted. This option provides the build in strategies: - none - No read lock is in use - markerFile - Camel creates a marker file (fileName.camelLock) and then holds a lock on it. This option is not available for the FTP component - changed - Changed is using file length/modification timestamp to detect whether the file is currently being copied or not. Will at least use 1 sec to determine this, so this option cannot consume files as fast as the others, but can be more reliable as the JDK IO API cannot always determine whether a file is currently being used by another process. The option readLockCheckInterval can be used to set the check frequency. - fileLock - is for using java.nio.channels.FileLock. This option is not avail for Windows OS and the FTP component. This approach should be avoided when accessing a remote file system via a mount/share unless that file system supports distributed file locks. - rename - rename is for using a try to rename the file as a test if we can get exclusive read-lock. - idempotent - (only for file component) idempotent is for using a idempotentRepository as the read-lock. This allows to use read locks that supports clustering if the idempotent repository implementation supports that. - idempotent-changed - (only for file component) idempotent-changed is for using a idempotentRepository and changed as the combined read-lock. This allows to use read locks that supports clustering if the idempotent repository implementation supports that. - idempotent-rename - (only for file component) idempotent-rename is for using a idempotentRepository and rename as the combined read-lock. This allows to use read locks that supports clustering if the idempotent repository implementation supports that.Notice: The various read locks is not all suited to work in clustered mode, where concurrent consumers on different nodes is competing for the same files on a shared file system. The markerFile using a close to atomic operation to create the empty marker file, but its not guaranteed to work in a cluster. The fileLock may work better but then the file system need to support distributed file locks, and so on. Using the idempotent read lock can support clustering if the idempotent repository supports clustering, such as Hazelcast Component or Infinispan. One of: [none] [markerFile] [fileLock] [rename] [changed] [idempotent] [idempotent-changed] [idempotent-rename]"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DEFAULT = "none"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_CONF = "camel.source.endpoint.readLockCheckInterval"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DOC = "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. The readLockTimeout value must be higher than readLockCheckInterval, but a rule of thumb is to have a timeout that is at least 2 or more times higher than the readLockCheckInterval. This is needed to ensure that amble time is allowed for the read lock process to try to grab the lock before the timeout was hit."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DEFAULT = 1000L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_CONF = "camel.source.endpoint.readLockDeleteOrphanLockFiles"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_DOC = "Whether or not read lock with marker files should upon startup delete any orphan read lock files, which may have been left on the file system, if Camel was not properly shutdown (such as a JVM crash). If turning this option to false then any orphaned lock file will cause Camel to not attempt to pickup that file, this could also be due another node is concurrently reading files from the same shared directory."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_CONF = "camel.source.endpoint.readLockIdempotentReleaseAsync"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_DOC = "Whether the delayed release task should be synchronous or asynchronous. See more details at the readLockIdempotentReleaseDelay option."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_CONF = "camel.source.endpoint.readLockIdempotentReleaseAsyncPoolSize"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_DOC = "The number of threads in the scheduled thread pool when using asynchronous release tasks. Using a default of 1 core threads should be sufficient in almost all use-cases, only set this to a higher value if either updating the idempotent repository is slow, or there are a lot of files to process. This option is not in-use if you use a shared thread pool by configuring the readLockIdempotentReleaseExecutorService option. See more details at the readLockIdempotentReleaseDelay option."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_CONF = "camel.source.endpoint.readLockIdempotentReleaseDelay"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_DOC = "Whether to delay the release task for a period of millis. This can be used to delay the release tasks to expand the window when a file is regarded as read-locked, in an active/active cluster scenario with a shared idempotent repository, to ensure other nodes cannot potentially scan and acquire the same file, due to race-conditions. By expanding the time-window of the release tasks helps prevents these situations. Note delaying is only needed if you have configured readLockRemoveOnCommit to true."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.readLockIdempotentReleaseExecutorService"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_DOC = "To use a custom and shared thread pool for asynchronous release tasks. See more details at the readLockIdempotentReleaseDelay option."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_CONF = "camel.source.endpoint.readLockLoggingLevel"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_DOC = "Logging level used when a read lock could not be acquired. By default a DEBUG is logged. You can change this level, for example to OFF to not have any logging. This option is only applicable for readLock of types: changed, fileLock, idempotent, idempotent-changed, idempotent-rename, rename. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_DEFAULT = "DEBUG"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_CONF = "camel.source.endpoint.readLockMarkerFile"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_DOC = "Whether to use marker file with the changed, rename, or exclusive read lock types. By default a marker file is used as well to guard against other processes picking up the same files. This behavior can be turned off by setting this option to false. For example if you do not want to write marker files to the file systems by the Camel application."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_CONF = "camel.source.endpoint.readLockMinAge"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_DOC = "This option is applied only for readLock=changed. It allows to specify a minimum age the file must be before attempting to acquire the read lock. For example use readLockMinAge=300s to require the file is at last 5 minutes old. This can speedup the changed read lock as it will only attempt to acquire files which are at least that given age."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_DEFAULT = 0L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_CONF = "camel.source.endpoint.readLockMinLength"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_DOC = "This option is applied only for readLock=changed. It allows you to configure a minimum file length. By default Camel expects the file to contain data, and thus the default value is 1. You can set this option to zero, to allow consuming zero-length files."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_DEFAULT = 1L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_CONF = "camel.source.endpoint.readLockRemoveOnCommit"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_DOC = "This option is applied only for readLock=idempotent. It allows to specify whether to remove the file name entry from the idempotent repository when processing the file is succeeded and a commit happens. By default the file is not removed which ensures that any race-condition do not occur so another active node may attempt to grab the file. Instead the idempotent repository may support eviction strategies that you can configure to evict the file name entry after X minutes - this ensures no problems with race conditions. See more details at the readLockIdempotentReleaseDelay option."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_CONF = "camel.source.endpoint.readLockRemoveOnRollback"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DOC = "This option is applied only for readLock=idempotent. It allows to specify whether to remove the file name entry from the idempotent repository when processing the file failed and a rollback happens. If this option is false, then the file name entry is confirmed (as if the file did a commit)."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_CONF = "camel.source.endpoint.readLockTimeout"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DOC = "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default readLockTimeout value is 20000 instead of 10000. The readLockTimeout value must be higher than readLockCheckInterval, but a rule of thumb is to have a timeout that is at least 2 or more times higher than the readLockCheckInterval. This is needed to ensure that amble time is allowed for the read lock process to try to grab the lock before the timeout was hit."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DEFAULT = 10000L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF = "camel.source.endpoint.backoffErrorThreshold"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC = "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF = "camel.source.endpoint.backoffIdleThreshold"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC = "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_CONF = "camel.source.endpoint.backoffMultiplier"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_DOC = "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured."; public static final Integer CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DELAY_CONF = "camel.source.endpoint.delay"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_DELAY_DOC = "Milliseconds before the next poll."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_DELAY_DEFAULT = 500L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_CONF = "camel.source.endpoint.greedy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_DOC = "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_CONF = "camel.source.endpoint.initialDelay"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_DOC = "Milliseconds before the first poll starts."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_DEFAULT = 1000L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_CONF = "camel.source.endpoint.repeatCount"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_DOC = "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever."; public static final Long CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_DEFAULT = 0L; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_CONF = "camel.source.endpoint.runLoggingLevel"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_DOC = "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT = "TRACE"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.scheduledExecutorService"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC = "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_CONF = "camel.source.endpoint.scheduler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_DOC = "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_DEFAULT = "none"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_CONF = "camel.source.endpoint.schedulerProperties"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_DOC = "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_CONF = "camel.source.endpoint.startScheduler"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_DOC = "Whether the scheduler should be auto started."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_CONF = "camel.source.endpoint.timeUnit"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_DOC = "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_DEFAULT = "MILLISECONDS"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_CONF = "camel.source.endpoint.useFixedDelay"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_DOC = "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details."; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_CONF = "camel.source.endpoint.shuffle"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_DOC = "To shuffle the list of files (sort in random order)"; public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_CONF = "camel.source.endpoint.sortBy"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_DOC = "Built-in sort by using the File Language. Supports nested sorts, so you can have a sort by file name and as a 2nd group sort by modified date."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORTER_CONF = "camel.source.endpoint.sorter"; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORTER_DOC = "Pluggable sorter as a java.util.Comparator class."; public static final String CAMEL_SOURCE_FILE_ENDPOINT_SORTER_DEFAULT = null; public static final String CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.file.bridgeErrorHandler"; public static final String CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored."; public static final Boolean CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false; public static final String CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.file.autowiredEnabled"; public static final String CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.file.healthCheckConsumerEnabled"; public static final String CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component"; public static final Boolean CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true; public static final String CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.file.healthCheckProducerEnabled"; public static final String CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."; public static final Boolean CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true; public CamelFileSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelFileSourceConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FILE_PATH_DIRECTORY_NAME_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_CHARSET_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_DONE_FILE_NAME_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_FILE_NAME_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_DELETE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_DELETE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_DELETE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_MOVE_FAILED_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_NOOP_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_NOOP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_NOOP_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_PRE_MOVE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_PRE_SORT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_RECURSIVE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_DIRECTORY_MUST_EXIST_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXCEPTION_HANDLER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXCHANGE_PATTERN_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXTENDED_ATTRIBUTES_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_HIDDEN_FILES_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_IN_PROGRESS_REPOSITORY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_LOCAL_WORK_DIRECTORY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_ON_COMPLETION_EXCEPTION_HANDLER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_POLL_STRATEGY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_PROBE_CONTENT_TYPE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_PROCESS_STRATEGY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_EXIST_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_STARTING_DIRECTORY_MUST_HAVE_ACCESS_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_AUTO_CREATE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_BUFFER_SIZE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_COPY_AND_DELETE_ON_RENAME_FAIL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_RENAME_USING_COPY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SYNCHRONOUS_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_ANT_EXCLUDE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_ANT_FILTER_CASE_SENSITIVE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_ANT_INCLUDE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EAGER_MAX_MESSAGES_PER_POLL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUDE_EXT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_FILTER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_DIRECTORY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_FILTER_FILE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_EXT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_MAX_DEPTH_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_MIN_DEPTH_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_MOVE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_MOVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_MOVE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_EXCLUSIVE_READ_LOCK_STRATEGY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_ASYNC_POOL_SIZE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_DELAY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_IDEMPOTENT_RELEASE_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_LOGGING_LEVEL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MARKER_FILE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_AGE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_MIN_LENGTH_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_COMMIT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_MULTIPLIER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_DELAY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_GREEDY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_INITIAL_DELAY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_REPEAT_COUNT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_RUN_LOGGING_LEVEL_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SCHEDULER_PROPERTIES_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_START_SCHEDULER_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_TIME_UNIT_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_USE_FIXED_DELAY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SHUFFLE_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SORT_BY_DOC); conf.define(CAMEL_SOURCE_FILE_ENDPOINT_SORTER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FILE_ENDPOINT_SORTER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_ENDPOINT_SORTER_DOC); conf.define(CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); conf.define(CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC); conf.define(CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FILE_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC); return conf; } }
8,644
0
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file
Create_ds/camel-kafka-connector/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/transformers/FileTransforms.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.file.transformers; import java.io.File; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.Map; import org.apache.camel.component.file.GenericFile; import org.apache.camel.kafkaconnector.utils.SchemaHelper; import org.apache.commons.io.FileUtils; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.ConnectRecord; import org.apache.kafka.connect.transforms.Transformation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class FileTransforms<R extends ConnectRecord<R>> implements Transformation<R> { public static final String FIELD_KEY_CONFIG = "key"; public static final ConfigDef CONFIG_DEF = new ConfigDef().define(FIELD_KEY_CONFIG, ConfigDef.Type.STRING, null, ConfigDef.Importance.MEDIUM, "Transforms File to String"); private static final Logger LOG = LoggerFactory.getLogger(FileTransforms.class); @Override public R apply(R r) { Object value = r.value(); if (r.value() instanceof GenericFile) { LOG.debug("Converting record from RemoteFile to text"); GenericFile<File> message = (GenericFile<File>)r.value(); String c = null; try { c = FileUtils.readFileToString(message.getFile(), StandardCharsets.UTF_8); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return r.newRecord(r.topic(), r.kafkaPartition(), null, r.key(), SchemaHelper.buildSchemaBuilderForType(c), c, r.timestamp()); } else { LOG.debug("Unexpected message type: {}", r.value().getClass()); return r; } } @Override public ConfigDef config() { return CONFIG_DEF; } @Override public void close() { } @Override public void configure(Map<String, ?> map) { } }
8,645
0
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/oracledatabasesource/CamelOracledatabasesourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.oracledatabasesource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelOracledatabasesourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelOracledatabasesourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:oracle-database-source"; } }
8,646
0
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/oracledatabasesource/CamelOracledatabasesourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.oracledatabasesource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelOracledatabasesourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelOracledatabasesourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelOracledatabasesourceSourceTask.class; } }
8,647
0
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-oracle-database-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/oracledatabasesource/CamelOracledatabasesourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.oracledatabasesource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelOracledatabasesourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_CONF = "camel.kamelet.oracle-database-source.serverName"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_CONF = "camel.kamelet.oracle-database-source.serverPort"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_DOC = "The server port for the data source."; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_DEFAULT = "1521"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.oracle-database-source.username"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_DOC = "The username to access a secured Oracle Database."; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.oracle-database-source.password"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_DOC = "The password to access a secured Oracle Database."; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_DEFAULT = null; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_CONF = "camel.kamelet.oracle-database-source.query"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_DOC = "The query to execute against the Oracle Database. Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.oracle-database-source.databaseName"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_DOC = "The name of the Oracle Database."; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_CONF = "camel.kamelet.oracle-database-source.consumedQuery"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_DOC = "A query to run on a tuple consumed. Example: DELETE FROM accounts where user_id = :#user_id"; public static final String CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_DEFAULT = null; public CamelOracledatabasesourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelOracledatabasesourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_NAME_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_SERVER_PORT_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_USERNAME_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_PASSWORD_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_QUERY_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_DATABASE_NAME_DOC); conf.define(CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ORACLEDATABASESOURCE_KAMELET_CONSUMED_QUERY_DOC); return conf; } }
8,648
0
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/telegramsource/CamelTelegramsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.telegramsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTelegramsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelTelegramsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelTelegramsourceSourceTask.class; } }
8,649
0
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/telegramsource/CamelTelegramsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.telegramsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTelegramsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelTelegramsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:telegram-source"; } }
8,650
0
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-telegram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/telegramsource/CamelTelegramsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.telegramsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTelegramsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_CONF = "camel.kamelet.telegram-source.authorizationToken"; public static final String CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_DOC = "The token to access your bot on Telegram. You can obtain it from the Telegram @botfather."; public static final String CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_DEFAULT = null; public CamelTelegramsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelTelegramsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TELEGRAMSOURCE_KAMELET_AUTHORIZATION_TOKEN_DOC); return conf; } }
8,651
0
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awsredshiftsource/CamelAwsredshiftsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awsredshiftsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwsredshiftsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelAwsredshiftsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:aws-redshift-source"; } }
8,652
0
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awsredshiftsource/CamelAwsredshiftsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awsredshiftsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwsredshiftsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelAwsredshiftsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAwsredshiftsourceSourceTask.class; } }
8,653
0
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-redshift-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awsredshiftsource/CamelAwsredshiftsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awsredshiftsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwsredshiftsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_CONF = "camel.kamelet.aws-redshift-source.serverName"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_CONF = "camel.kamelet.aws-redshift-source.serverPort"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_DOC = "The server port for the data source."; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_DEFAULT = "5439"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.aws-redshift-source.username"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_DOC = "The username to access a secured AWS RedShift Database."; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.aws-redshift-source.password"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_DOC = "The password to access a secured AWS RedShift Database."; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_CONF = "camel.kamelet.aws-redshift-source.query"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_DOC = "The query to execute against the AWS RedShift Database. Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.aws-redshift-source.databaseName"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_DOC = "The name of the AWS RedShift Database."; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_CONF = "camel.kamelet.aws-redshift-source.consumedQuery"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_DOC = "A query to run on a tuple consumed. Example: DELETE FROM accounts where user_id = :#user_id"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.aws-redshift-source.delay"; public static final String CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll from the AWS RedShift database."; public static final Integer CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_DEFAULT = 500; public CamelAwsredshiftsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAwsredshiftsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_NAME_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_SERVER_PORT_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_USERNAME_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_PASSWORD_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_QUERY_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DATABASE_NAME_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_CONSUMED_QUERY_DOC); conf.define(CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSREDSHIFTSOURCE_KAMELET_DELAY_DOC); return conf; } }
8,654
0
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/logsink/CamelLogsinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.logsink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelLogsinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelLogsinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelLogsinkSinkTask.class; } }
8,655
0
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/logsink/CamelLogsinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.logsink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelLogsinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_CONF = "camel.kamelet.log-sink.loggerName"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_DOC = "Name of the logging category to use"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_DEFAULT = "log-sink"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LEVEL_CONF = "camel.kamelet.log-sink.level"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LEVEL_DOC = "Logging level to use"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LEVEL_DEFAULT = "INFO"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_CONF = "camel.kamelet.log-sink.logMask"; public static final String CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_DOC = "Mask sensitive information like password or passphrase in the log"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_MARKER_CONF = "camel.kamelet.log-sink.marker"; public static final String CAMEL_SINK_LOGSINK_KAMELET_MARKER_DOC = "An optional Marker name to use"; public static final String CAMEL_SINK_LOGSINK_KAMELET_MARKER_DEFAULT = null; public static final String CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_CONF = "camel.kamelet.log-sink.multiline"; public static final String CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_DOC = "If enabled then each information is outputted on a newline"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_CONF = "camel.kamelet.log-sink.showAllProperties"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_DOC = "Show all of the exchange properties (both internal and custom)"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_CONF = "camel.kamelet.log-sink.showBody"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_DOC = "Show the message body"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_DEFAULT = true; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_CONF = "camel.kamelet.log-sink.showBodyType"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_DOC = "Show the body Java type"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_DEFAULT = true; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_CONF = "camel.kamelet.log-sink.showExchangePattern"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_DOC = "Shows the Message Exchange Pattern (or MEP for short)"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_DEFAULT = true; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_CONF = "camel.kamelet.log-sink.showHeaders"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_DOC = "Show the headers received"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_CONF = "camel.kamelet.log-sink.showProperties"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_DOC = "Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties."; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_CONF = "camel.kamelet.log-sink.showStreams"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_DOC = "Show the stream bodies (they may not be available in following steps)"; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_DEFAULT = false; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_CONF = "camel.kamelet.log-sink.showCachedStreams"; public static final String CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_DOC = "Whether Camel should show cached stream bodies or not."; public static final Boolean CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_DEFAULT = true; public CamelLogsinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelLogsinkSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_LOGGER_NAME_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_LOGSINK_KAMELET_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_LEVEL_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_LOG_MASK_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_MARKER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_LOGSINK_KAMELET_MARKER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_MARKER_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_MULTILINE_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_ALL_PROPERTIES_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_BODY_TYPE_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_EXCHANGE_PATTERN_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_HEADERS_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_PROPERTIES_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_STREAMS_DOC); conf.define(CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOGSINK_KAMELET_SHOW_CACHED_STREAMS_DOC); return conf; } }
8,656
0
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-log-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/logsink/CamelLogsinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.logsink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelLogsinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelLogsinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:log-sink"; } }
8,657
0
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sshsink/CamelSshsinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.sshsink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSshsinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_CONF = "camel.kamelet.ssh-sink.connectionHost"; public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_DOC = "The SSH Host"; public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_DEFAULT = null; public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_CONF = "camel.kamelet.ssh-sink.connectionPort"; public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_DOC = "The SSH Port"; public static final String CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_DEFAULT = "22"; public static final String CAMEL_SINK_SSHSINK_KAMELET_USERNAME_CONF = "camel.kamelet.ssh-sink.username"; public static final String CAMEL_SINK_SSHSINK_KAMELET_USERNAME_DOC = "The SSH username to use"; public static final String CAMEL_SINK_SSHSINK_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.ssh-sink.password"; public static final String CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_DOC = "The SSH password to use"; public static final String CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_DEFAULT = null; public CamelSshsinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelSshsinkSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_HOST_DOC); conf.define(CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SSHSINK_KAMELET_CONNECTION_PORT_DOC); conf.define(CAMEL_SINK_SSHSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SSHSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SSHSINK_KAMELET_USERNAME_DOC); conf.define(CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SSHSINK_KAMELET_PASSWORD_DOC); return conf; } }
8,658
0
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sshsink/CamelSshsinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.sshsink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSshsinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelSshsinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:ssh-sink"; } }
8,659
0
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-ssh-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sshsink/CamelSshsinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.sshsink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSshsinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelSshsinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelSshsinkSinkTask.class; } }
8,660
0
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.aws2iam; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAws2iamSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelAws2iamSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAws2iamSinkTask.class; } }
8,661
0
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.aws2iam; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_AWS2IAM_PATH_LABEL_CONF = "camel.sink.path.label"; public static final String CAMEL_SINK_AWS2IAM_PATH_LABEL_DOC = "Logical name"; public static final String CAMEL_SINK_AWS2IAM_PATH_LABEL_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_CONF = "camel.sink.endpoint.iamClient"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DOC = "To use a existing configured AWS IAM as client"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DOC = "The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. One of: [listAccessKeys] [createUser] [deleteUser] [getUser] [listUsers] [createAccessKey] [deleteAccessKey] [updateAccessKey] [createGroup] [deleteGroup] [listGroups] [addUserToGroup] [removeUserFromGroup]"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_CONF = "camel.sink.endpoint.overrideEndpoint"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option"; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DEFAULT = "aws-global"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the IAM client"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_DOC = "To define a proxy port when instantiating the IAM client"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_CONF = "camel.sink.endpoint.proxyProtocol"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the IAM client One of: [HTTP] [HTTPS]"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF = "camel.sink.endpoint.profileCredentialsName"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DOC = "Amazon AWS Secret Key"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useDefaultCredentialsProvider"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useProfileCredentialsProvider"; public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a profile credentials provider."; public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_CONF = "camel.component.aws2-iam.configuration"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DOC = "Component configuration"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_CONF = "camel.component.aws2-iam.iamClient"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DOC = "To use a existing configured AWS IAM as client"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.aws2-iam.lazyStartProducer"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_CONF = "camel.component.aws2-iam.operation"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DOC = "The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. One of: [listAccessKeys] [createUser] [deleteUser] [getUser] [listUsers] [createAccessKey] [deleteAccessKey] [updateAccessKey] [createGroup] [deleteGroup] [listGroups] [addUserToGroup] [removeUserFromGroup]"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_CONF = "camel.component.aws2-iam.overrideEndpoint"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option"; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-iam.pojoRequest"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_CONF = "camel.component.aws2-iam.region"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DEFAULT = "aws-global"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws2-iam.uriEndpointOverride"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.aws2-iam.autowiredEnabled"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.aws2-iam.healthCheckConsumerEnabled"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component"; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.aws2-iam.healthCheckProducerEnabled"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_CONF = "camel.component.aws2-iam.proxyHost"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the IAM client"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_CONF = "camel.component.aws2-iam.proxyPort"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_DOC = "To define a proxy port when instantiating the IAM client"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_CONF = "camel.component.aws2-iam.proxyProtocol"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the IAM client One of: [HTTP] [HTTPS]"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_CONF = "camel.component.aws2-iam.accessKey"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DOC = "Amazon AWS Access Key"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF = "camel.component.aws2-iam.profileCredentialsName"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_CONF = "camel.component.aws2-iam.secretKey"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DOC = "Amazon AWS Secret Key"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-iam.trustAllCertificates"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-iam.useDefaultCredentialsProvider"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-iam.useProfileCredentialsProvider"; public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a profile credentials provider."; public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false; public CamelAws2iamSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAws2iamSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_AWS2IAM_PATH_LABEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_PATH_LABEL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2IAM_PATH_LABEL_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_HOST_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PORT_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_PROXY_PROTOCOL_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_HOST_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PORT_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_PROXY_PROTOCOL_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC); return conf; } }
8,662
0
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.aws2iam; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAws2iamSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelAws2iamSinkConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "aws2-iam"); }}; } }
8,663
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqtt5source/CamelMqtt5sourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqtt5source; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqtt5sourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelMqtt5sourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelMqtt5sourceSourceTask.class; } }
8,664
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqtt5source/CamelMqtt5sourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqtt5source; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqtt5sourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelMqtt5sourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:mqtt5-source"; } }
8,665
0
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-mqtt5-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mqtt5source/CamelMqtt5sourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.mqtt5source; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelMqtt5sourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.mqtt5-source.topic"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_DOC = "The topic to subscribe to Example: mytopic"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_DEFAULT = null; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_CONF = "camel.kamelet.mqtt5-source.brokerUrl"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_DOC = "The URL of the broker where to establish the connection Example: tcp://mosquitto:1883"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_DEFAULT = null; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_CONF = "camel.kamelet.mqtt5-source.clientId"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_DOC = "The client ID to use when connecting to the resource"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_DEFAULT = "mqtt-source"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.mqtt5-source.username"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_DOC = "Username to use when connecting to the MQTT v5 compliant broker"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.mqtt5-source.password"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_DOC = "Password to use when connecting to the MQTT v5 compliant broker"; public static final String CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_DEFAULT = null; public CamelMqtt5sourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelMqtt5sourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_TOPIC_DOC); conf.define(CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_BROKER_URL_DOC); conf.define(CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_CLIENT_ID_DOC); conf.define(CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_USERNAME_DOC); conf.define(CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MQTT5SOURCE_KAMELET_PASSWORD_DOC); return conf; } }
8,666
0
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awscloudtrailsource/CamelAwscloudtrailsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awscloudtrailsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwscloudtrailsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelAwscloudtrailsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:aws-cloudtrail-source"; } }
8,667
0
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awscloudtrailsource/CamelAwscloudtrailsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awscloudtrailsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwscloudtrailsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.aws-cloudtrail-source.accessKey"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_DOC = "The access key obtained from AWS."; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_CONF = "camel.kamelet.aws-cloudtrail-source.secretKey"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_DOC = "The secret key obtained from AWS."; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_CONF = "camel.kamelet.aws-cloudtrail-source.region"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_DOC = "The AWS region to access."; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_DEFAULT = null; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.kamelet.aws-cloudtrail-source.useDefaultCredentialsProvider"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key)."; public static final Boolean CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF = "camel.kamelet.aws-cloudtrail-source.uriEndpointOverride"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC = "The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option."; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF = "camel.kamelet.aws-cloudtrail-source.overrideEndpoint"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC = "Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option."; public static final Boolean CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT = false; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_CONF = "camel.kamelet.aws-cloudtrail-source.maxResults"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_DOC = "Maximum number of records that will be fetched in each poll."; public static final Integer CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_DEFAULT = 1; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_CONF = "camel.kamelet.aws-cloudtrail-source.eventSource"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_DOC = "Specify an event source to select events. Example: secretsmanager.amazonaws.com"; public static final String CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_DEFAULT = null; public CamelAwscloudtrailsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAwscloudtrailsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_ACCESS_KEY_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_SECRET_KEY_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_REGION_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_MAX_RESULTS_DOC); conf.define(CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSCLOUDTRAILSOURCE_KAMELET_EVENT_SOURCE_DOC); return conf; } }
8,668
0
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awscloudtrailsource/CamelAwscloudtrailsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awscloudtrailsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwscloudtrailsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelAwscloudtrailsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAwscloudtrailsourceSourceTask.class; } }
8,669
0
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azurestoragedatalakesink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzurestoragedatalakesinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_CONF = "camel.kamelet.azure-storage-datalake-sink.accountName"; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_DOC = "The Azure Storage Blob Data lake account name."; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_CONF = "camel.kamelet.azure-storage-datalake-sink.clientId"; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_DOC = "The Azure Storage Blob Data lake client Id."; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_CONF = "camel.kamelet.azure-storage-datalake-sink.clientSecret"; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DOC = "The Azure Storage Blob Data lake client secret."; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_CONF = "camel.kamelet.azure-storage-datalake-sink.tenantId"; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DOC = "The Azure Storage Blob Data lake tenant id."; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_CONF = "camel.kamelet.azure-storage-datalake-sink.fileSystemName"; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DOC = "The Azure Storage Blob Data lake File system name."; public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DEFAULT = null; public CamelAzurestoragedatalakesinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAzurestoragedatalakesinkSinkConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_ACCOUNT_NAME_DOC); conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_ID_DOC); conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DOC); conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DOC); conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DOC); return conf; } }
8,670
0
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azurestoragedatalakesink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzurestoragedatalakesinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelAzurestoragedatalakesinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAzurestoragedatalakesinkSinkTask.class; } }
8,671
0
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azurestoragedatalakesink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzurestoragedatalakesinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelAzurestoragedatalakesinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:azure-storage-datalake-sink"; } }
8,672
0
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssource/CamelNatssourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.natssource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNatssourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelNatssourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:nats-source"; } }
8,673
0
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssource/CamelNatssourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.natssource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNatssourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.nats-source.topic"; public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_DOC = "NATS Topic name"; public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_DEFAULT = null; public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_CONF = "camel.kamelet.nats-source.servers"; public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_DOC = "Comma separated list of NATS Servers"; public static final String CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_DEFAULT = null; public CamelNatssourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelNatssourceSourceConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_NATSSOURCE_KAMELET_TOPIC_DOC); conf.define(CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_NATSSOURCE_KAMELET_SERVERS_DOC); return conf; } }
8,674
0
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-nats-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssource/CamelNatssourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.natssource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelNatssourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelNatssourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelNatssourceSourceTask.class; } }
8,675
0
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jdbc/CamelJdbcSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jdbc; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJdbcSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelJdbcSinkConnectorConfig(props); } @Override protected Map<String, String> getDefaultConfig() { return new HashMap<String, String>() {{ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "jdbc"); }}; } }
8,676
0
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jdbc/CamelJdbcSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jdbc; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJdbcSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_CONF = "camel.sink.path.dataSourceName"; public static final String CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_DOC = "Name of DataSource to lookup in the Registry. If the name is dataSource or default, then Camel will attempt to lookup a default DataSource from the registry, meaning if there is a only one instance of DataSource found, then this DataSource will be used."; public static final String CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_CONF = "camel.sink.endpoint.allowNamedParameters"; public static final String CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_DOC = "Whether to allow using named parameters in the queries."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_DEFAULT = true; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_CONF = "camel.sink.endpoint.outputClass"; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_DOC = "Specify the full package and class name to use as conversion when outputType=SelectOne or SelectList."; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_CONF = "camel.sink.endpoint.outputType"; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_DOC = "Determines the output the producer should use. One of: [SelectOne] [SelectList] [StreamList]"; public static final String CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_DEFAULT = "SelectList"; public static final String CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_CONF = "camel.sink.endpoint.parameters"; public static final String CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_DOC = "Optional parameters to the java.sql.Statement. For example to set maxRows, fetchSize etc."; public static final String CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_CONF = "camel.sink.endpoint.readSize"; public static final String CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_DOC = "The default maximum number of rows that can be read by a polling query. The default value is 0."; public static final Integer CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_CONF = "camel.sink.endpoint.resetAutoCommit"; public static final String CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_DOC = "Camel will set the autoCommit on the JDBC connection to be false, commit the change after executed the statement and reset the autoCommit flag of the connection at the end, if the resetAutoCommit is true. If the JDBC connection doesn't support to reset the autoCommit flag, you can set the resetAutoCommit flag to be false, and Camel will not try to reset the autoCommit flag. When used with XA transactions you most likely need to set it to false so that the transaction manager is in charge of committing this tx."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_DEFAULT = true; public static final String CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_CONF = "camel.sink.endpoint.transacted"; public static final String CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_DOC = "Whether transactions are in use."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_DEFAULT = false; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_CONF = "camel.sink.endpoint.useGetBytesForBlob"; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_DOC = "To read BLOB columns as bytes instead of string data. This may be needed for certain databases such as Oracle where you must read BLOB columns as bytes."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_DEFAULT = false; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_CONF = "camel.sink.endpoint.useHeadersAsParameters"; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_DOC = "Set this option to true to use the prepareStatementStrategy with named parameters. This allows to define queries with named placeholders, and use headers with the dynamic values for the query placeholders."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_DEFAULT = false; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_CONF = "camel.sink.endpoint.useJDBC4ColumnNameAndLabelSemantics"; public static final String CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_DOC = "Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when retrieving column name. JDBC 4.0 uses columnLabel to get the column name where as JDBC 3.0 uses both columnName or columnLabel. Unfortunately JDBC drivers behave differently so you can use this option to work out issues around your JDBC driver if you get problem using this component This option is default true."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_DEFAULT = true; public static final String CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; public static final String CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_CONF = "camel.sink.endpoint.beanRowMapper"; public static final String CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_DOC = "To use a custom org.apache.camel.component.jdbc.BeanRowMapper when using outputClass. The default implementation will lower case the row names and skip underscores, and dashes. For example CUST_ID is mapped as custId."; public static final String CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_CONF = "camel.sink.endpoint.connectionStrategy"; public static final String CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_DOC = "To use a custom strategy for working with connections. Do not use a custom strategy when using the spring-jdbc component because a special Spring ConnectionStrategy is used by default to support Spring Transactions."; public static final String CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_DEFAULT = null; public static final String CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_CONF = "camel.sink.endpoint.prepareStatementStrategy"; public static final String CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_DOC = "Allows the plugin to use a custom org.apache.camel.component.jdbc.JdbcPrepareStatementStrategy to control preparation of the query and prepared statement."; public static final String CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_DEFAULT = null; public static final String CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_CONF = "camel.component.jdbc.dataSource"; public static final String CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_DOC = "To use the DataSource instance instead of looking up the data source by name from the registry."; public static final String CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_DEFAULT = null; public static final String CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.jdbc.lazyStartProducer"; public static final String CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.jdbc.autowiredEnabled"; public static final String CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; public static final String CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_CONF = "camel.component.jdbc.connectionStrategy"; public static final String CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_DOC = "To use a custom strategy for working with connections. Do not use a custom strategy when using the spring-jdbc component because a special Spring ConnectionStrategy is used by default to support Spring Transactions."; public static final String CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_DEFAULT = null; public CamelJdbcSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelJdbcSinkConnectorConfig(Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_JDBC_PATH_DATA_SOURCE_NAME_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_ALLOW_NAMED_PARAMETERS_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_CLASS_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_OUTPUT_TYPE_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_PARAMETERS_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_READ_SIZE_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_RESET_AUTO_COMMIT_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_TRANSACTED_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_USE_GET_BYTES_FOR_BLOB_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_USE_HEADERS_AS_PARAMETERS_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_USE_JDBC4COLUMN_NAME_AND_LABEL_SEMANTICS_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_BEAN_ROW_MAPPER_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_CONNECTION_STRATEGY_DOC); conf.define(CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_ENDPOINT_PREPARE_STATEMENT_STRATEGY_DOC); conf.define(CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_COMPONENT_DATA_SOURCE_DOC); conf.define(CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JDBC_COMPONENT_CONNECTION_STRATEGY_DOC); return conf; } }
8,677
0
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-jdbc-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jdbc/CamelJdbcSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.jdbc; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelJdbcSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelJdbcSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelJdbcSinkTask.class; } }
8,678
0
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/postgresqlsource/CamelPostgresqlsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.postgresqlsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelPostgresqlsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelPostgresqlsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:postgresql-source"; } }
8,679
0
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/postgresqlsource/CamelPostgresqlsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.postgresqlsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelPostgresqlsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_CONF = "camel.kamelet.postgresql-source.serverName"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_CONF = "camel.kamelet.postgresql-source.serverPort"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_DOC = "The server port for the data source."; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_DEFAULT = "5432"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.postgresql-source.username"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_DOC = "The username to access a secured PostgreSQL Database."; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.postgresql-source.password"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_DOC = "The password to access a secured PostgreSQL Database."; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_CONF = "camel.kamelet.postgresql-source.query"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_DOC = "The query to execute against the PostgreSQL Database. Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.postgresql-source.databaseName"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_DOC = "The name of the PostgreSQL Database."; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_CONF = "camel.kamelet.postgresql-source.consumedQuery"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_DOC = "A query to run on a tuple consumed. Example: DELETE FROM accounts where user_id = :#user_id"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.postgresql-source.delay"; public static final String CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll"; public static final Integer CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_DEFAULT = 500; public CamelPostgresqlsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelPostgresqlsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_NAME_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_SERVER_PORT_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_USERNAME_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_PASSWORD_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_QUERY_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DATABASE_NAME_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_CONSUMED_QUERY_DOC); conf.define(CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_POSTGRESQLSOURCE_KAMELET_DELAY_DOC); return conf; } }
8,680
0
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-postgresql-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/postgresqlsource/CamelPostgresqlsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.postgresqlsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelPostgresqlsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelPostgresqlsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelPostgresqlsourceSourceTask.class; } }
8,681
0
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azureeventhubssource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzureeventhubssourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelAzureeventhubssourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:azure-eventhubs-source"; } }
8,682
0
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azureeventhubssource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzureeventhubssourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_CONF = "camel.kamelet.azure-eventhubs-source.namespaceName"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DOC = "The Event Hubs namespace."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_CONF = "camel.kamelet.azure-eventhubs-source.eventhubName"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DOC = "The Event Hub name."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_CONF = "camel.kamelet.azure-eventhubs-source.sharedAccessName"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DOC = "The Event Hubs SAS key name."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_CONF = "camel.kamelet.azure-eventhubs-source.sharedAccessKey"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DOC = "The key for the Event Hubs SAS key name."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_CONF = "camel.kamelet.azure-eventhubs-source.blobAccountName"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DOC = "The name of the Storage Blob account."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_CONF = "camel.kamelet.azure-eventhubs-source.blobContainerName"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DOC = "The name of the Storage Blob container."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_CONF = "camel.kamelet.azure-eventhubs-source.blobAccessKey"; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DOC = "The key for the Azure Storage Blob service that is associated with the Storage Blob account name."; public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DEFAULT = null; public CamelAzureeventhubssourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAzureeventhubssourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DOC); conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DOC); return conf; } }
8,683
0
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.azureeventhubssource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAzureeventhubssourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelAzureeventhubssourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAzureeventhubssourceSourceTask.class; } }
8,684
0
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awskinesissource/CamelAwskinesissourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awskinesissource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwskinesissourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelAwskinesissourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelAwskinesissourceSourceTask.class; } }
8,685
0
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awskinesissource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwskinesissourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_CONF = "camel.kamelet.aws-kinesis-source.stream"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_DOC = "The Kinesis stream that you want to access. The Kinesis stream that you specify must already exist."; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_DEFAULT = null; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.aws-kinesis-source.accessKey"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_DOC = "The access key obtained from AWS."; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_CONF = "camel.kamelet.aws-kinesis-source.secretKey"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_DOC = "The secret key obtained from AWS."; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_CONF = "camel.kamelet.aws-kinesis-source.region"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_DOC = "The AWS region to access."; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_DEFAULT = null; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.kamelet.aws-kinesis-source.useDefaultCredentialsProvider"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key)."; public static final Boolean CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF = "camel.kamelet.aws-kinesis-source.uriEndpointOverride"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC = "The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option."; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT = null; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF = "camel.kamelet.aws-kinesis-source.overrideEndpoint"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC = "Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option."; public static final Boolean CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT = false; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.aws-kinesis-source.delay"; public static final String CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll of the selected stream."; public static final Integer CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_DEFAULT = 500; public CamelAwskinesissourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelAwskinesissourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_STREAM_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_ACCESS_KEY_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_SECRET_KEY_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_REGION_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC); conf.define(CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSKINESISSOURCE_KAMELET_DELAY_DOC); return conf; } }
8,686
0
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-aws-kinesis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awskinesissource/CamelAwskinesissourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.awskinesissource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelAwskinesissourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelAwskinesissourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:aws-kinesis-source"; } }
8,687
0
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcesource/CamelSalesforcesourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.salesforcesource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSalesforcesourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelSalesforcesourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelSalesforcesourceSourceTask.class; } }
8,688
0
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcesource/CamelSalesforcesourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.salesforcesource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSalesforcesourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelSalesforcesourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:salesforce-source"; } }
8,689
0
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-salesforce-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcesource/CamelSalesforcesourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.salesforcesource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelSalesforcesourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_CONF = "camel.kamelet.salesforce-source.query"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_DOC = "The query to execute on Salesforce. Example: SELECT Id, Name, Email, Phone FROM Contact"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_CONF = "camel.kamelet.salesforce-source.topicName"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_DOC = "The name of the topic or channel. Example: ContactTopic"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_CONF = "camel.kamelet.salesforce-source.loginUrl"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_DOC = "The Salesforce instance login URL."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_DEFAULT = "https://login.salesforce.com"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_CONF = "camel.kamelet.salesforce-source.notifyForFields"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_DOC = "Notify for fields."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_DEFAULT = "ALL"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_CONF = "camel.kamelet.salesforce-source.clientId"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_DOC = "The Salesforce application consumer key."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_CONF = "camel.kamelet.salesforce-source.clientSecret"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_DOC = "The Salesforce application consumer secret."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_CONF = "camel.kamelet.salesforce-source.userName"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_DOC = "The Salesforce username."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.salesforce-source.password"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_DOC = "The Salesforce user password."; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_DEFAULT = null; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_CONF = "camel.kamelet.salesforce-source.notifyForOperationCreate"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_DOC = "Notify for create operation."; public static final Boolean CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_DEFAULT = true; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_CONF = "camel.kamelet.salesforce-source.notifyForOperationUpdate"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_DOC = "Notify for update operation."; public static final Boolean CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_DEFAULT = false; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_CONF = "camel.kamelet.salesforce-source.notifyForOperationDelete"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_DOC = "Notify for delete operation."; public static final Boolean CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_DEFAULT = false; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_CONF = "camel.kamelet.salesforce-source.notifyForOperationUndelete"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_DOC = "Notify for undelete operation."; public static final Boolean CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_DEFAULT = false; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_CONF = "camel.kamelet.salesforce-source.operation"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_DOC = "The operation to use"; public static final String CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_DEFAULT = "subscribe"; public CamelSalesforcesourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelSalesforcesourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_QUERY_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_TOPIC_NAME_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_LOGIN_URL_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_FIELDS_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_ID_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_CLIENT_SECRET_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_USER_NAME_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_PASSWORD_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_CREATE_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UPDATE_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_DELETE_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_NOTIFY_FOR_OPERATION_UNDELETE_DOC); conf.define(CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SALESFORCESOURCE_KAMELET_OPERATION_DOC); return conf; } }
8,690
0
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/twittersearchsource/CamelTwittersearchsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.twittersearchsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTwittersearchsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelTwittersearchsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:twitter-search-source"; } }
8,691
0
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/twittersearchsource/CamelTwittersearchsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.twittersearchsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTwittersearchsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelTwittersearchsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelTwittersearchsourceSourceTask.class; } }
8,692
0
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-twitter-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/twittersearchsource/CamelTwittersearchsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.twittersearchsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelTwittersearchsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_CONF = "camel.kamelet.twitter-search-source.keywords"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_DOC = "The keywords to use in the Twitter search (Supports Twitter standard operators) Example: Apache Camel"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_DEFAULT = null; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_CONF = "camel.kamelet.twitter-search-source.apiKey"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_DOC = "The API Key from the Twitter application in the developer portal"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_DEFAULT = null; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_CONF = "camel.kamelet.twitter-search-source.apiKeySecret"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_DOC = "The API Key Secret from the Twitter application in the developer portal"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_DEFAULT = null; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_CONF = "camel.kamelet.twitter-search-source.accessToken"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_DOC = "The Access Token from the Twitter application in the developer portal"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_DEFAULT = null; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_CONF = "camel.kamelet.twitter-search-source.accessTokenSecret"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_DOC = "The Access Token Secret from the Twitter application in the developer portal"; public static final String CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_DEFAULT = null; public CamelTwittersearchsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelTwittersearchsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_KEYWORDS_DOC); conf.define(CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_DOC); conf.define(CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_API_KEY_SECRET_DOC); conf.define(CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_DOC); conf.define(CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_TWITTERSEARCHSOURCE_KAMELET_ACCESS_TOKEN_SECRET_DOC); return conf; } }
8,693
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkascramsink/CamelKafkascramsinkSinkConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkascramsink; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkascramsinkSinkConnectorConfig extends CamelSinkConnectorConfig { public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-scram-sink.topic"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_DEFAULT = null; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-scram-sink.bootstrapServers"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_CONF = "camel.kamelet.kafka-scram-sink.securityProtocol"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_DOC = "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_DEFAULT = "SASL_SSL"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.kafka-scram-sink.saslMechanism"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_DOC = "The Simple Authentication and Security Layer (SASL) Mechanism used."; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_DEFAULT = "SCRAM-SHA-512"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_CONF = "camel.kamelet.kafka-scram-sink.user"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_DOC = "Username to authenticate to Kafka"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_DEFAULT = null; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.kafka-scram-sink.password"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_DOC = "Password to authenticate to kafka"; public static final String CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_DEFAULT = null; public CamelKafkascramsinkSinkConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelKafkascramsinkSinkConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_TOPIC_DOC); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_BOOTSTRAP_SERVERS_DOC); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SECURITY_PROTOCOL_DOC); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_SASL_MECHANISM_DOC); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_USER_DOC); conf.define(CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASCRAMSINK_KAMELET_PASSWORD_DOC); return conf; } }
8,694
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkascramsink/CamelKafkascramsinkSinkTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkascramsink; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig; import org.apache.camel.kafkaconnector.CamelSinkTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkascramsinkSinkTask extends CamelSinkTask { @Override protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( Map<String, String> props) { return new CamelKafkascramsinkSinkConnectorConfig(props); } @Override protected String getSinkKamelet() { return "kamelet:kafka-scram-sink"; } }
8,695
0
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-kafka-scram-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkascramsink/CamelKafkascramsinkSinkConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.kafkascramsink; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSinkConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelKafkascramsinkSinkConnector extends CamelSinkConnector { @Override public ConfigDef config() { return CamelKafkascramsinkSinkConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelKafkascramsinkSinkTask.class; } }
8,696
0
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/wttrinsource/CamelWttrinsourceSourceConnector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.wttrinsource; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnector; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelWttrinsourceSourceConnector extends CamelSourceConnector { @Override public ConfigDef config() { return CamelWttrinsourceSourceConnectorConfig.conf(); } @Override public Class<? extends Task> taskClass() { return CamelWttrinsourceSourceTask.class; } }
8,697
0
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/wttrinsource/CamelWttrinsourceSourceTask.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.wttrinsource; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.camel.kafkaconnector.CamelSourceTask; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelWttrinsourceSourceTask extends CamelSourceTask { @Override protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( Map<String, String> props) { return new CamelWttrinsourceSourceConnectorConfig(props); } @Override protected String getSourceKamelet() { return "kamelet:wttrin-source"; } }
8,698
0
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector
Create_ds/camel-kafka-connector/connectors/camel-wttrin-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/wttrinsource/CamelWttrinsourceSourceConnectorConfig.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.camel.kafkaconnector.wttrinsource; import java.util.Map; import javax.annotation.Generated; import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig; import org.apache.kafka.common.config.ConfigDef; @Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.") public class CamelWttrinsourceSourceConnectorConfig extends CamelSourceConnectorConfig { public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_CONF = "camel.kamelet.wttrin-source.period"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_DOC = "The interval between fetches to the wttr.in service in milliseconds"; public static final Integer CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_DEFAULT = 60000; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_CONF = "camel.kamelet.wttrin-source.wttrLocation"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_DOC = "\"paris, ~Eiffel+tower, Москва, muc, @stackoverflow.com, 94107, -78.46,106.79"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_DEFAULT = null; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_CONF = "camel.kamelet.wttrin-source.wttrLanguage"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_DOC = "The language to use for displaying weather forecasts Example: am ar af be bn ca da de el et fr fa hi hu ia id it lt mg nb nl oc pl pt-br ro ru ta tr th uk vi zh-cn zh-tw"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_DEFAULT = null; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_CONF = "camel.kamelet.wttrin-source.output"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_DOC = "The type of output Example: current, weather, full"; public static final String CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_DEFAULT = "current"; public CamelWttrinsourceSourceConnectorConfig( ConfigDef config, Map<String, String> parsedConfig) { super(config, parsedConfig); } public CamelWttrinsourceSourceConnectorConfig( Map<String, String> parsedConfig) { this(conf(), parsedConfig); } public static ConfigDef conf() { ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); conf.define(CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_PERIOD_DOC); conf.define(CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LOCATION_DOC); conf.define(CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_WTTR_LANGUAGE_DOC); conf.define(CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WTTRINSOURCE_KAMELET_OUTPUT_DOC); return conf; } }
8,699