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-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkasink/CamelKafkasinkSinkConnectorConfig.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.kafkasink;
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 CamelKafkasinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-sink.topic";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_DEFAULT = null;
public static final String CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-sink.bootstrapServers";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
public static final String CAMEL_SINK_KAFKASINK_KAMELET_SECURITY_PROTOCOL_CONF = "camel.kamelet.kafka-sink.securityProtocol";
public static final String CAMEL_SINK_KAFKASINK_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_KAFKASINK_KAMELET_SECURITY_PROTOCOL_DEFAULT = "SASL_SSL";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.kafka-sink.saslMechanism";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_DOC = "The Simple Authentication and Security Layer (SASL) Mechanism used.";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_DEFAULT = "PLAIN";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_USER_CONF = "camel.kamelet.kafka-sink.user";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_USER_DOC = "Username to authenticate to Kafka";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_USER_DEFAULT = null;
public static final String CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_CONF = "camel.kamelet.kafka-sink.password";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_DOC = "Password to authenticate to kafka";
public static final String CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_DEFAULT = null;
public CamelKafkasinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelKafkasinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASINK_KAMELET_TOPIC_DOC);
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASINK_KAMELET_BOOTSTRAP_SERVERS_DOC);
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_SECURITY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASINK_KAMELET_SECURITY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_KAFKASINK_KAMELET_SECURITY_PROTOCOL_DOC);
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_KAFKASINK_KAMELET_SASL_MECHANISM_DOC);
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_KAFKASINK_KAMELET_USER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASINK_KAMELET_USER_DOC);
conf.define(CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_KAFKASINK_KAMELET_PASSWORD_DOC);
return conf;
}
} | 8,700 |
0 | Create_ds/camel-kafka-connector/connectors/camel-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkasink/CamelKafkasinkSinkTask.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.kafkasink;
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 CamelKafkasinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelKafkasinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:kafka-sink";
}
} | 8,701 |
0 | Create_ds/camel-kafka-connector/connectors/camel-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-kafka-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkasink/CamelKafkasinkSinkConnector.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.kafkasink;
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 CamelKafkasinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelKafkasinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelKafkasinkSinkTask.class;
}
} | 8,702 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissource/CamelJmsapacheartemissourceSourceTask.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.jmsapacheartemissource;
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 CamelJmsapacheartemissourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelJmsapacheartemissourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:jms-apache-artemis-source";
}
} | 8,703 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissource/CamelJmsapacheartemissourceSourceConnector.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.jmsapacheartemissource;
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 CamelJmsapacheartemissourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelJmsapacheartemissourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelJmsapacheartemissourceSourceTask.class;
}
} | 8,704 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissource/CamelJmsapacheartemissourceSourceConnectorConfig.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.jmsapacheartemissource;
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 CamelJmsapacheartemissourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_CONF = "camel.kamelet.jms-apache-artemis-source.destinationType";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_DOC = "The JMS destination type (queue or topic).";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_DEFAULT = "queue";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_CONF = "camel.kamelet.jms-apache-artemis-source.destinationName";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_DOC = "The JMS destination name.";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLCONF = "camel.kamelet.jms-apache-artemis-source.brokerURL";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLDOC = "The JMS URL. Example: tcp://k3s-node-master.usersys.redhat.com:31616";
public static final String CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLDEFAULT = null;
public CamelJmsapacheartemissourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelJmsapacheartemissourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_TYPE_DOC);
conf.define(CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_DESTINATION_NAME_DOC);
conf.define(CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLCONF, ConfigDef.Type.STRING, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLDEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_JMSAPACHEARTEMISSOURCE_KAMELET_BROKER_URLDOC);
return conf;
}
} | 8,705 |
0 | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubcommitsource/CamelGithubcommitsourceSourceConnector.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.githubcommitsource;
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 CamelGithubcommitsourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelGithubcommitsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelGithubcommitsourceSourceTask.class;
}
} | 8,706 |
0 | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubcommitsource/CamelGithubcommitsourceSourceTask.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.githubcommitsource;
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 CamelGithubcommitsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelGithubcommitsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:github-commit-source";
}
} | 8,707 |
0 | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-github-commit-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/githubcommitsource/CamelGithubcommitsourceSourceConnectorConfig.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.githubcommitsource;
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 CamelGithubcommitsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_CONF = "camel.kamelet.github-commit-source.repoName";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_DOC = "The GitHub Repository name";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_CONF = "camel.kamelet.github-commit-source.repoOwner";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_DOC = "The repository owner";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_DEFAULT = null;
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_CONF = "camel.kamelet.github-commit-source.oauthToken";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_DOC = "OAuth token";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_DEFAULT = null;
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_CONF = "camel.kamelet.github-commit-source.startingSha";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_DOC = "The SHA from which we want to consume, possible values beginning, last or a specific SHA";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_DEFAULT = "last";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_CONF = "camel.kamelet.github-commit-source.branch";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_DOC = "The branch we want to consume commit from";
public static final String CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_DEFAULT = null;
public CamelGithubcommitsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelGithubcommitsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_NAME_DOC);
conf.define(CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_REPO_OWNER_DOC);
conf.define(CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_OAUTH_TOKEN_DOC);
conf.define(CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_STARTING_SHA_DOC);
conf.define(CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GITHUBCOMMITSOURCE_KAMELET_BRANCH_DOC);
return conf;
}
} | 8,708 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnectorConfig.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.aws2kms;
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 CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_PATH_LABEL_CONF = "camel.sink.path.label";
public static final String CAMEL_SINK_AWS2KMS_PATH_LABEL_DOC = "Logical name";
public static final String CAMEL_SINK_AWS2KMS_PATH_LABEL_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [listKeys] [createKey] [disableKey] [scheduleKeyDeletion] [describeKey] [enableKey]";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_CONF = "camel.sink.endpoint.overrideEndpoint";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DOC = "The region in which EKS 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_AWS2KMS_ENDPOINT_REGION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_CONF = "camel.sink.endpoint.kmsClient";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DOC = "To use a existing configured AWS KMS as client";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the KMS client";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_DOC = "To define a proxy port when instantiating the KMS client";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_CONF = "camel.sink.endpoint.proxyProtocol";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the KMS client One of: [HTTP] [HTTPS]";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_DEFAULT = "HTTPS";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF = "camel.sink.endpoint.profileCredentialsName";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useDefaultCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS 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_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_CONF = "camel.component.aws2-kms.configuration";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DOC = "Component configuration";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.aws2-kms.lazyStartProducer";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_CONF = "camel.component.aws2-kms.operation";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DOC = "The operation to perform One of: [listKeys] [createKey] [disableKey] [scheduleKeyDeletion] [describeKey] [enableKey]";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_CONF = "camel.component.aws2-kms.overrideEndpoint";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-kms.pojoRequest";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_CONF = "camel.component.aws2-kms.region";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DOC = "The region in which EKS 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_AWS2KMS_COMPONENT_REGION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws2-kms.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.aws2-kms.autowiredEnabled";
public static final String CAMEL_SINK_AWS2KMS_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_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_CONF = "camel.component.aws2-kms.kmsClient";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DOC = "To use a existing configured AWS KMS as client";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_CONF = "camel.component.aws2-kms.proxyHost";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the KMS client";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_CONF = "camel.component.aws2-kms.proxyPort";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_DOC = "To define a proxy port when instantiating the KMS client";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_CONF = "camel.component.aws2-kms.proxyProtocol";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the KMS client One of: [HTTP] [HTTPS]";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_DEFAULT = "HTTPS";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_CONF = "camel.component.aws2-kms.accessKey";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF = "camel.component.aws2-kms.profileCredentialsName";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_CONF = "camel.component.aws2-kms.secretKey";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-kms.trustAllCertificates";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-kms.useDefaultCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS 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_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-kms.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
public CamelAws2kmsSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAws2kmsSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_AWS2KMS_PATH_LABEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_PATH_LABEL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2KMS_PATH_LABEL_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PORT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_PROTOCOL_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PORT_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_PROTOCOL_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
return conf;
}
} | 8,709 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkTask.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.aws2kms;
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 CamelAws2kmsSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelAws2kmsSinkConnectorConfig(props);
}
@Override
protected Map<String, String> getDefaultConfig() {
return new HashMap<String, String>() {{
put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "aws2-kms");
}};
}
} | 8,710 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnector.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.aws2kms;
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 CamelAws2kmsSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelAws2kmsSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAws2kmsSinkTask.class;
}
} | 8,711 |
0 | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sqlserversource/CamelSqlserversourceSourceTask.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.sqlserversource;
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 CamelSqlserversourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelSqlserversourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:sqlserver-source";
}
} | 8,712 |
0 | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sqlserversource/CamelSqlserversourceSourceConnector.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.sqlserversource;
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 CamelSqlserversourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelSqlserversourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSqlserversourceSourceTask.class;
}
} | 8,713 |
0 | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-sqlserver-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sqlserversource/CamelSqlserversourceSourceConnectorConfig.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.sqlserversource;
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 CamelSqlserversourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_CONF = "camel.kamelet.sqlserver-source.serverName";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_CONF = "camel.kamelet.sqlserver-source.serverPort";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_DOC = "The server port for the data source.";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_DEFAULT = "1433";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.sqlserver-source.username";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_DOC = "The username to access a secured SQL Server Database";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.sqlserver-source.password";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_DOC = "The password to access a secured SQL Server Database";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_CONF = "camel.kamelet.sqlserver-source.query";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_DOC = "The query to execute against the SQL Server Database Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.sqlserver-source.databaseName";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_DOC = "The name of the Database.";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_CONSUMED_QUERY_CONF = "camel.kamelet.sqlserver-source.consumedQuery";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_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_SQLSERVERSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT = null;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_CONF = "camel.kamelet.sqlserver-source.encrypt";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_DOC = "Encrypt the connection to SQL Server.";
public static final Boolean CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_DEFAULT = false;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_CONF = "camel.kamelet.sqlserver-source.trustServerCertificate";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_DOC = "Trust Server Certificate";
public static final Boolean CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_DEFAULT = true;
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.sqlserver-source.delay";
public static final String CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll";
public static final Integer CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_DEFAULT = 500;
public CamelSqlserversourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSqlserversourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_NAME_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_SERVER_PORT_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_QUERY_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DATABASE_NAME_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_CONSUMED_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_CONSUMED_QUERY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_CONSUMED_QUERY_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_ENCRYPT_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_TRUST_SERVER_CERTIFICATE_DOC);
conf.define(CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_SQLSERVERSOURCE_KAMELET_DELAY_DOC);
return conf;
}
} | 8,714 |
0 | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/httpsecuredsource/CamelHttpsecuredsourceSourceConnector.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.httpsecuredsource;
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 CamelHttpsecuredsourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelHttpsecuredsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelHttpsecuredsourceSourceTask.class;
}
} | 8,715 |
0 | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/httpsecuredsource/CamelHttpsecuredsourceSourceConnectorConfig.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.httpsecuredsource;
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 CamelHttpsecuredsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_CONF = "camel.kamelet.http-secured-source.period";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_DOC = "The interval between fetches in milliseconds";
public static final Integer CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_DEFAULT = 10000;
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_CONF = "camel.kamelet.http-secured-source.contentType";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_DOC = "The content type accepted for the resource";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_DEFAULT = "application/json";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_CONF = "camel.kamelet.http-secured-source.url";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_DOC = "The URL to fetch for data Example: https://gist.githubusercontent.com/nicolaferraro/e3c72ace3c751f9f88273896611ce5fe/raw/3b6f54060bacb56b6719b7386a4645cb59ad6cc1/quote.json";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_DEFAULT = null;
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_CONF = "camel.kamelet.http-secured-source.authMethod";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_DOC = "Authentication methods allowed to use as a comma separated list of values Basic, Digest or NTLM.";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_DEFAULT = "Basic";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_CONF = "camel.kamelet.http-secured-source.authenticationPreemptive";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_DOC = "If this option is true, camel-http sends preemptive basic authentication to the server.";
public static final Boolean CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_DEFAULT = false;
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_CONF = "camel.kamelet.http-secured-source.authUsername";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_DOC = "Authentication username";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_CONF = "camel.kamelet.http-secured-source.authPassword";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_DOC = "Authentication password";
public static final String CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_DEFAULT = null;
public CamelHttpsecuredsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelHttpsecuredsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_PERIOD_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_CONTENT_TYPE_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_URL_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_METHOD_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTHENTICATION_PREEMPTIVE_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_USERNAME_DOC);
conf.define(CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HTTPSECUREDSOURCE_KAMELET_AUTH_PASSWORD_DOC);
return conf;
}
} | 8,716 |
0 | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-http-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/httpsecuredsource/CamelHttpsecuredsourceSourceTask.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.httpsecuredsource;
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 CamelHttpsecuredsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelHttpsecuredsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:http-secured-source";
}
} | 8,717 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkTask.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.azureeventhubssink;
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 CamelAzureeventhubssinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelAzureeventhubssinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:azure-eventhubs-sink";
}
} | 8,718 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnector.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.azureeventhubssink;
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 CamelAzureeventhubssinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelAzureeventhubssinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAzureeventhubssinkSinkTask.class;
}
} | 8,719 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnectorConfig.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.azureeventhubssink;
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 CamelAzureeventhubssinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_CONF = "camel.kamelet.azure-eventhubs-sink.namespaceName";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DOC = "The Event Hubs namespace.";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_CONF = "camel.kamelet.azure-eventhubs-sink.eventhubName";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DOC = "The Event Hub name.";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_CONF = "camel.kamelet.azure-eventhubs-sink.sharedAccessName";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DOC = "The Event Hubs SAS key name.";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_CONF = "camel.kamelet.azure-eventhubs-sink.sharedAccessKey";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DOC = "The key for the Event Hubs SAS key name.";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DEFAULT = null;
public CamelAzureeventhubssinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAzureeventhubssinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DOC);
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DOC);
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DOC);
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DOC);
return conf;
}
} | 8,720 |
0 | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftpsource/CamelFtpsourceSourceConnectorConfig.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.ftpsource;
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 CamelFtpsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_CONF = "camel.kamelet.ftp-source.connectionHost";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_DOC = "The hostname of the FTP server.";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_CONF = "camel.kamelet.ftp-source.connectionPort";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_DOC = "The port of the FTP server.";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_DEFAULT = "21";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.ftp-source.username";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_DOC = "The username to access the FTP server.";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.ftp-source.password";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_DOC = "The password to access the FTP server.";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_CONF = "camel.kamelet.ftp-source.directoryName";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_DOC = "The starting directory";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_CONF = "camel.kamelet.ftp-source.passiveMode";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_DOC = "Specifes to use passive mode connection.";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_DEFAULT = false;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_CONF = "camel.kamelet.ftp-source.recursive";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_DOC = "If a directory, look for files in all the sub-directories as well.";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_DEFAULT = false;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_CONF = "camel.kamelet.ftp-source.idempotent";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_DOC = "Skip already-processed files.";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_DEFAULT = true;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_CONF = "camel.kamelet.ftp-source.binary";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_DOC = "Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_DEFAULT = false;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_CONF = "camel.kamelet.ftp-source.autoCreate";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_DOC = "Automatically create starting directory.";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_DEFAULT = true;
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_CONF = "camel.kamelet.ftp-source.delete";
public static final String CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_DOC = "If true, the file will be deleted after it is processed successfully.";
public static final Boolean CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_DEFAULT = false;
public CamelFtpsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelFtpsourceSourceConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_HOST_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FTPSOURCE_KAMELET_CONNECTION_PORT_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FTPSOURCE_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_FTPSOURCE_KAMELET_DIRECTORY_NAME_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_PASSIVE_MODE_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_RECURSIVE_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_IDEMPOTENT_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_BINARY_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_AUTO_CREATE_DOC);
conf.define(CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_FTPSOURCE_KAMELET_DELETE_DOC);
return conf;
}
} | 8,721 |
0 | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftpsource/CamelFtpsourceSourceTask.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.ftpsource;
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 CamelFtpsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelFtpsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:ftp-source";
}
} | 8,722 |
0 | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-ftp-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftpsource/CamelFtpsourceSourceConnector.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.ftpsource;
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 CamelFtpsourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelFtpsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelFtpsourceSourceTask.class;
}
} | 8,723 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchsearchsource/CamelElasticsearchsearchsourceSourceConnector.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.elasticsearchsearchsource;
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 CamelElasticsearchsearchsourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelElasticsearchsearchsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelElasticsearchsearchsourceSourceTask.class;
}
} | 8,724 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchsearchsource/CamelElasticsearchsearchsourceSourceConnectorConfig.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.elasticsearchsearchsource;
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 CamelElasticsearchsearchsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_CONF = "camel.kamelet.elasticsearch-search-source.period";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_DOC = "The time interval between two searches";
public static final Integer CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_DEFAULT = 1000;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_CONF = "camel.kamelet.elasticsearch-search-source.query";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_DOC = "The query we want to use to search on ElasticSearch.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_CONF = "camel.kamelet.elasticsearch-search-source.user";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_DOC = "Username to connect to ElasticSearch.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.elasticsearch-search-source.password";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_DOC = "Password to connect to ElasticSearch.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLCONF = "camel.kamelet.elasticsearch-search-source.enableSSL";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLDOC = "Do we want to connect using SSL?";
public static final Boolean CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLDEFAULT = true;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_CONF = "camel.kamelet.elasticsearch-search-source.hostAddresses";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_DOC = "Comma separated list with ip:port formatted remote transport addresses to use.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_CONF = "camel.kamelet.elasticsearch-search-source.indexName";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_DOC = "The name of the index to act against.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_CONF = "camel.kamelet.elasticsearch-search-source.clusterName";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_DOC = "The name of the cluster.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_CONF = "camel.kamelet.elasticsearch-search-source.certificate";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_DOC = "The Certificate for accessing the Elasticsearch cluster. You must encode this value in base64.";
public static final String CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_DEFAULT = null;
public CamelElasticsearchsearchsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelElasticsearchsearchsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PERIOD_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_QUERY_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_USER_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLCONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLDEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_ENABLE_SSLDOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_HOST_ADDRESSES_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_INDEX_NAME_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CLUSTER_NAME_DOC);
conf.define(CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_ELASTICSEARCHSEARCHSOURCE_KAMELET_CERTIFICATE_DOC);
return conf;
}
} | 8,725 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchsearchsource/CamelElasticsearchsearchsourceSourceTask.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.elasticsearchsearchsource;
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 CamelElasticsearchsearchsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelElasticsearchsearchsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:elasticsearch-search-source";
}
} | 8,726 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awss3source/CamelAwss3sourceSourceConnectorConfig.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.awss3source;
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 CamelAwss3sourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_CONF = "camel.kamelet.aws-s3-source.bucketNameOrArn";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_DOC = "The S3 Bucket name or Amazon Resource Name (ARN).";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_CONF = "camel.kamelet.aws-s3-source.deleteAfterRead";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_DOC = "Specifies to delete objects after consuming them.";
public static final Boolean CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT = true;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.aws-s3-source.accessKey";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_DOC = "The access key obtained from AWS.";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_CONF = "camel.kamelet.aws-s3-source.secretKey";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_DOC = "The secret key obtained from AWS.";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_CONF = "camel.kamelet.aws-s3-source.region";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_DOC = "The AWS region to access.";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_CONF = "camel.kamelet.aws-s3-source.autoCreateBucket";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_DOC = "Specifies to automatically create the S3 bucket.";
public static final Boolean CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_DEFAULT = false;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_CONF = "camel.kamelet.aws-s3-source.prefix";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_DOC = "The AWS S3 bucket prefix to consider while searching. Example: folder/";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_CONF = "camel.kamelet.aws-s3-source.ignoreBody";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_DOC = "If true, the S3 Object body is ignored. Setting this to true overrides any behavior defined by the `includeBody` option. If false, the S3 object is put in the body.";
public static final Boolean CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_DEFAULT = false;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.kamelet.aws-s3-source.useDefaultCredentialsProvider";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "If true, the S3 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_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF = "camel.kamelet.aws-s3-source.uriEndpointOverride";
public static final String CAMEL_SOURCE_AWSS3SOURCE_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_AWSS3SOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF = "camel.kamelet.aws-s3-source.overrideEndpoint";
public static final String CAMEL_SOURCE_AWSS3SOURCE_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_AWSS3SOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_CONF = "camel.kamelet.aws-s3-source.delay";
public static final String CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll of the selected bucket.";
public static final Integer CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_DEFAULT = 500;
public CamelAwss3sourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAwss3sourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_BUCKET_NAME_OR_ARN_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELETE_AFTER_READ_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_ACCESS_KEY_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_SECRET_KEY_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_REGION_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_AUTO_CREATE_BUCKET_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_PREFIX_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_IGNORE_BODY_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_URI_ENDPOINT_OVERRIDE_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_OVERRIDE_ENDPOINT_DOC);
conf.define(CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWSS3SOURCE_KAMELET_DELAY_DOC);
return conf;
}
} | 8,727 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awss3source/CamelAwss3sourceSourceTask.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.awss3source;
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 CamelAwss3sourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelAwss3sourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:aws-s3-source";
}
} | 8,728 |
0 | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-aws-s3-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awss3source/CamelAwss3sourceSourceConnector.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.awss3source;
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 CamelAwss3sourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelAwss3sourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAwss3sourceSourceTask.class;
}
} | 8,729 |
0 | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlecalendarsource/CamelGooglecalendarsourceSourceTask.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.googlecalendarsource;
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 CamelGooglecalendarsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelGooglecalendarsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:google-calendar-source";
}
} | 8,730 |
0 | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlecalendarsource/CamelGooglecalendarsourceSourceConnectorConfig.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.googlecalendarsource;
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 CamelGooglecalendarsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_CONF = "camel.kamelet.google-calendar-source.index";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_DOC = "An index for the Google Calendar endpoint.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_CONF = "camel.kamelet.google-calendar-source.calendarId";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_DOC = "The calendar ID to use as the source of event data.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_CONF = "camel.kamelet.google-calendar-source.clientId";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_DOC = "The Client ID of the Google Calendar application.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_CONF = "camel.kamelet.google-calendar-source.clientSecret";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_DOC = "The Client secret of the Google Calendar application.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_CONF = "camel.kamelet.google-calendar-source.accessToken";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_DOC = "The OAuth 2 access token for the Google Calendar application. This token typically expires after an hour. For long term usage, set the `refreshToken` property.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_CONF = "camel.kamelet.google-calendar-source.refreshToken";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_DOC = "The OAuth 2 refresh token for the Google Calendar application. The Google Calendar component can obtain a new `accessToken` whenever the current one expires. Set this value for long term usage.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.google-calendar-source.delay";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll.";
public static final Integer CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_DEFAULT = 500;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_CONF = "camel.kamelet.google-calendar-source.applicationName";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_DOC = "The Google Calendar application name.";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_CONF = "camel.kamelet.google-calendar-source.syncFlow";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_DOC = "Specifies to sync events for incremental synchronization.";
public static final Boolean CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_DEFAULT = false;
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_CONF = "camel.kamelet.google-calendar-source.consumeFromNow";
public static final String CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_DOC = "Specfies to consume events in the calendar from now on.";
public static final Boolean CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_DEFAULT = true;
public CamelGooglecalendarsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelGooglecalendarsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_INDEX_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CALENDAR_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CLIENT_SECRET_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_ACCESS_TOKEN_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_REFRESH_TOKEN_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_DELAY_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_APPLICATION_NAME_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_SYNC_FLOW_DOC);
conf.define(CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLECALENDARSOURCE_KAMELET_CONSUME_FROM_NOW_DOC);
return conf;
}
} | 8,731 |
0 | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-google-calendar-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlecalendarsource/CamelGooglecalendarsourceSourceConnector.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.googlecalendarsource;
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 CamelGooglecalendarsourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelGooglecalendarsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelGooglecalendarsourceSourceTask.class;
}
} | 8,732 |
0 | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssink/CamelNatssinkSinkConnectorConfig.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.natssink;
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 CamelNatssinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_NATSSINK_KAMELET_TOPIC_CONF = "camel.kamelet.nats-sink.topic";
public static final String CAMEL_SINK_NATSSINK_KAMELET_TOPIC_DOC = "NATS Topic name";
public static final String CAMEL_SINK_NATSSINK_KAMELET_TOPIC_DEFAULT = null;
public static final String CAMEL_SINK_NATSSINK_KAMELET_SERVERS_CONF = "camel.kamelet.nats-sink.servers";
public static final String CAMEL_SINK_NATSSINK_KAMELET_SERVERS_DOC = "Comma separated list of NATS Servers";
public static final String CAMEL_SINK_NATSSINK_KAMELET_SERVERS_DEFAULT = null;
public CamelNatssinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelNatssinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_NATSSINK_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_NATSSINK_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_NATSSINK_KAMELET_TOPIC_DOC);
conf.define(CAMEL_SINK_NATSSINK_KAMELET_SERVERS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_NATSSINK_KAMELET_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_NATSSINK_KAMELET_SERVERS_DOC);
return conf;
}
} | 8,733 |
0 | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssink/CamelNatssinkSinkConnector.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.natssink;
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 CamelNatssinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelNatssinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelNatssinkSinkTask.class;
}
} | 8,734 |
0 | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-nats-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/natssink/CamelNatssinkSinkTask.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.natssink;
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 CamelNatssinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelNatssinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:nats-sink";
}
} | 8,735 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkTask.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.azureservicebussink;
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 CamelAzureservicebussinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelAzureservicebussinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:azure-servicebus-sink";
}
} | 8,736 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnectorConfig.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.azureservicebussink;
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 CamelAzureservicebussinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_CONF = "camel.kamelet.azure-servicebus-sink.topicOrQueueName";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DOC = "Topic Or Queue Name for the Azure Servicebus instance";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_CONF = "camel.kamelet.azure-servicebus-sink.connectionString";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DOC = "Connection String for Azure Servicebus instance";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DEFAULT = null;
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_CONF = "camel.kamelet.azure-servicebus-sink.serviceBusType";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DOC = "The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DEFAULT = "queue";
public CamelAzureservicebussinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAzureservicebussinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DOC);
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DOC);
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DOC);
return conf;
}
} | 8,737 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnector.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.azureservicebussink;
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 CamelAzureservicebussinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelAzureservicebussinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAzureservicebussinkSinkTask.class;
}
} | 8,738 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcecreatesink/CamelSalesforcecreatesinkSinkConnector.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.salesforcecreatesink;
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 CamelSalesforcecreatesinkSinkConnector
extends
CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelSalesforcecreatesinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSalesforcecreatesinkSinkTask.class;
}
} | 8,739 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcecreatesink/CamelSalesforcecreatesinkSinkConnectorConfig.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.salesforcecreatesink;
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 CamelSalesforcecreatesinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_CONF = "camel.kamelet.salesforce-create-sink.sObjectName";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_DOC = "The type of the object. Example: Contact";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_CONF = "camel.kamelet.salesforce-create-sink.loginUrl";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_DOC = "The Salesforce instance login URL.";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_DEFAULT = "https://login.salesforce.com";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_CONF = "camel.kamelet.salesforce-create-sink.clientId";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_DOC = "The Salesforce application consumer key.";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_CONF = "camel.kamelet.salesforce-create-sink.clientSecret";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_DOC = "The Salesforce application consumer secret.";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_CONF = "camel.kamelet.salesforce-create-sink.userName";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_DOC = "The Salesforce username.";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_CONF = "camel.kamelet.salesforce-create-sink.password";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_DOC = "The Salesforce user password.";
public static final String CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_DEFAULT = null;
public CamelSalesforcecreatesinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSalesforcecreatesinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_SOBJECT_NAME_DOC);
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_LOGIN_URL_DOC);
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_ID_DOC);
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_CLIENT_SECRET_DOC);
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_USER_NAME_DOC);
conf.define(CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCECREATESINK_KAMELET_PASSWORD_DOC);
return conf;
}
} | 8,740 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-create-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforcecreatesink/CamelSalesforcecreatesinkSinkTask.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.salesforcecreatesink;
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 CamelSalesforcecreatesinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelSalesforcecreatesinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:salesforce-create-sink";
}
} | 8,741 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforceupdatesink/CamelSalesforceupdatesinkSinkConnectorConfig.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.salesforceupdatesink;
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 CamelSalesforceupdatesinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_CONF = "camel.kamelet.salesforce-update-sink.loginUrl";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_DOC = "The Salesforce instance login URL.";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_DEFAULT = "https://login.salesforce.com";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_CONF = "camel.kamelet.salesforce-update-sink.clientId";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_DOC = "The Salesforce application consumer key.";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_CONF = "camel.kamelet.salesforce-update-sink.clientSecret";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_DOC = "The Salesforce application consumer secret.";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_CONF = "camel.kamelet.salesforce-update-sink.userName";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_DOC = "The Salesforce username.";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_CONF = "camel.kamelet.salesforce-update-sink.password";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_DOC = "The Salesforce user password.";
public static final String CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_DEFAULT = null;
public CamelSalesforceupdatesinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSalesforceupdatesinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_LOGIN_URL_DOC);
conf.define(CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_ID_DOC);
conf.define(CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_CLIENT_SECRET_DOC);
conf.define(CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_USER_NAME_DOC);
conf.define(CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SALESFORCEUPDATESINK_KAMELET_PASSWORD_DOC);
return conf;
}
} | 8,742 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforceupdatesink/CamelSalesforceupdatesinkSinkTask.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.salesforceupdatesink;
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 CamelSalesforceupdatesinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelSalesforceupdatesinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:salesforce-update-sink";
}
} | 8,743 |
0 | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-salesforce-update-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/salesforceupdatesink/CamelSalesforceupdatesinkSinkConnector.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.salesforceupdatesink;
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 CamelSalesforceupdatesinkSinkConnector
extends
CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelSalesforceupdatesinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSalesforceupdatesinkSinkTask.class;
}
} | 8,744 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mailimapsource/CamelMailimapsourceSourceConnectorConfig.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.mailimapsource;
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 CamelMailimapsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_CONF = "camel.kamelet.mail-imap-source.connectionHost";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_DOC = "The IMAP server host Example: imap.gmail.com";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_DEFAULT = null;
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_CONF = "camel.kamelet.mail-imap-source.connectionPort";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_DOC = "The IMAP server port";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_DEFAULT = "993";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.mail-imap-source.username";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_DOC = "The username to access the mail box";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.mail-imap-source.password";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_DOC = "The password to access the mail box";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_CONF = "camel.kamelet.mail-imap-source.fetchSize";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_DOC = "The number of messages fetched for each poll (-1 for no limits)";
public static final Integer CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_DEFAULT = 10;
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.mail-imap-source.delay";
public static final String CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_DOC = "The delay between fetches in milliseconds";
public static final Integer CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_DEFAULT = 60000;
public CamelMailimapsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelMailimapsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_HOST_DOC);
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_CONNECTION_PORT_DOC);
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_FETCH_SIZE_DOC);
conf.define(CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MAILIMAPSOURCE_KAMELET_DELAY_DOC);
return conf;
}
} | 8,745 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mailimapsource/CamelMailimapsourceSourceTask.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.mailimapsource;
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 CamelMailimapsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelMailimapsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:mail-imap-source";
}
} | 8,746 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mail-imap-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mailimapsource/CamelMailimapsourceSourceConnector.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.mailimapsource;
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 CamelMailimapsourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelMailimapsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelMailimapsourceSourceTask.class;
}
} | 8,747 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mongodbsource/CamelMongodbsourceSourceConnector.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.mongodbsource;
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 CamelMongodbsourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelMongodbsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelMongodbsourceSourceTask.class;
}
} | 8,748 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mongodbsource/CamelMongodbsourceSourceConnectorConfig.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.mongodbsource;
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 CamelMongodbsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_CONF = "camel.kamelet.mongodb-source.hosts";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_DOC = "A comma-separated list of MongoDB host addresses in `host:port` format.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_DEFAULT = null;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_CONF = "camel.kamelet.mongodb-source.collection";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_DOC = "The name of the MongoDB collection to bind to this endpoint.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_DEFAULT = null;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.mongodb-source.password";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_DOC = "The user password for accessing MongoDB.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.mongodb-source.username";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_DOC = "The username for accessing MongoDB. The username must be present in the MongoDB's authentication database (`authenticationDatabase`). By default, the MongoDB `authenticationDatabase` is 'admin'.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_CONF = "camel.kamelet.mongodb-source.ssl";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_DOC = "whether to enable ssl connection to mongodb";
public static final Boolean CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_DEFAULT = true;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_CONF = "camel.kamelet.mongodb-source.sslValidationEnabled";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_DOC = "IMPORTANT this should be disabled only in test environment since can pose security issues.";
public static final Boolean CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_DEFAULT = true;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_CONF = "camel.kamelet.mongodb-source.database";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_DOC = "The name of the MongoDB database.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_DEFAULT = null;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_CONF = "camel.kamelet.mongodb-source.persistentTailTracking";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_DOC = "Specifies to enable persistent tail tracking, which is a mechanism to keep track of the last consumed data across system restarts. The next time the system is up, the endpoint recovers the cursor from the point where it last stopped consuimg data. This option will only work on capped collections.";
public static final Boolean CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_DEFAULT = false;
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_CONF = "camel.kamelet.mongodb-source.tailTrackIncreasingField";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_DOC = "The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated.";
public static final String CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_DEFAULT = null;
public CamelMongodbsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelMongodbsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_HOSTS_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_COLLECTION_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_SSL_VALIDATION_ENABLED_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_DATABASE_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_PERSISTENT_TAIL_TRACKING_DOC);
conf.define(CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_MONGODBSOURCE_KAMELET_TAIL_TRACK_INCREASING_FIELD_DOC);
return conf;
}
} | 8,749 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mongodb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mongodbsource/CamelMongodbsourceSourceTask.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.mongodbsource;
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 CamelMongodbsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelMongodbsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:mongodb-source";
}
} | 8,750 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchindexsink/CamelElasticsearchindexsinkSinkConnector.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.elasticsearchindexsink;
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 CamelElasticsearchindexsinkSinkConnector
extends
CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelElasticsearchindexsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelElasticsearchindexsinkSinkTask.class;
}
} | 8,751 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchindexsink/CamelElasticsearchindexsinkSinkConnectorConfig.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.elasticsearchindexsink;
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 CamelElasticsearchindexsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_CONF = "camel.kamelet.elasticsearch-index-sink.user";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_DOC = "The username to connect to ElasticSearch.";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_DEFAULT = null;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.elasticsearch-index-sink.password";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_DOC = "The password to connect to ElasticSearch.";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLCONF = "camel.kamelet.elasticsearch-index-sink.enableSSL";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLDOC = "Specifies to connect by using SSL.";
public static final Boolean CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLDEFAULT = true;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_CONF = "camel.kamelet.elasticsearch-index-sink.hostAddresses";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DOC = "A comma-separated list of remote transport addresses in `ip:port format`. Example: quickstart-es-http:9200";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DEFAULT = null;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_CONF = "camel.kamelet.elasticsearch-index-sink.clusterName";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DOC = "The name of the ElasticSearch cluster. Example: quickstart";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_CONF = "camel.kamelet.elasticsearch-index-sink.indexName";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_DOC = "The name of the ElasticSearch index. Example: data";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_DEFAULT = null;
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_CONF = "camel.kamelet.elasticsearch-index-sink.certificate";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_DOC = "The Certificate for accessing the Elasticsearch cluster. You must encode this value in base64.";
public static final String CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_DEFAULT = null;
public CamelElasticsearchindexsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelElasticsearchindexsinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_USER_DOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLCONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLDEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_ENABLE_SSLDOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_INDEX_NAME_DOC);
conf.define(CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ELASTICSEARCHINDEXSINK_KAMELET_CERTIFICATE_DOC);
return conf;
}
} | 8,752 |
0 | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/elasticsearchindexsink/CamelElasticsearchindexsinkSinkTask.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.elasticsearchindexsink;
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 CamelElasticsearchindexsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelElasticsearchindexsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:elasticsearch-index-sink";
}
} | 8,753 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jiraupdateissuesink/CamelJiraupdateissuesinkSinkTask.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.jiraupdateissuesink;
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 CamelJiraupdateissuesinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelJiraupdateissuesinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:jira-update-issue-sink";
}
} | 8,754 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jiraupdateissuesink/CamelJiraupdateissuesinkSinkConnectorConfig.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.jiraupdateissuesink;
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 CamelJiraupdateissuesinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_CONF = "camel.kamelet.jira-update-issue-sink.jiraUrl";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_DOC = "The URL of your instance of Jira Example: http://my_jira.com:8081";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_DEFAULT = null;
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_CONF = "camel.kamelet.jira-update-issue-sink.username";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_DOC = "The username to access Jira";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_CONF = "camel.kamelet.jira-update-issue-sink.password";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_DOC = "The password to access Jira";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_CONF = "camel.kamelet.jira-update-issue-sink.personal-token";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_DOC = "Personal Token";
public static final String CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_DEFAULT = null;
public CamelJiraupdateissuesinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelJiraupdateissuesinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_JIRA_URL_DOC);
conf.define(CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JIRAUPDATEISSUESINK_KAMELET_PERSONALTOKEN_DOC);
return conf;
}
} | 8,755 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jiraupdateissuesink/CamelJiraupdateissuesinkSinkConnector.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.jiraupdateissuesink;
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 CamelJiraupdateissuesinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelJiraupdateissuesinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelJiraupdateissuesinkSinkTask.class;
}
} | 8,756 |
0 | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/cassandrasource/CamelCassandrasourceSourceConnectorConfig.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.cassandrasource;
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 CamelCassandrasourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_CONF = "camel.kamelet.cassandra-source.connectionHost";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_DOC = "The hostname(s) for the Cassandra server(s). Use a comma to separate multiple hostnames. Example: localhost";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_CONF = "camel.kamelet.cassandra-source.connectionPort";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_DOC = "The port number(s) of the cassandra server(s). Use a comma to separate multiple port numbers. Example: 9042";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_CONF = "camel.kamelet.cassandra-source.keyspace";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_DOC = "The keyspace to use. Example: customers";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_CONF = "camel.kamelet.cassandra-source.username";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_DOC = "The username for accessing a secured Cassandra cluster.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.cassandra-source.password";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_DOC = "The password for accessing a secured Cassandra cluster.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_CONF = "camel.kamelet.cassandra-source.resultStrategy";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_DOC = "The strategy to convert the result set of the query.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_DEFAULT = "ALL";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_CONF = "camel.kamelet.cassandra-source.consistencyLevel";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_DOC = "The consistency level to use.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_DEFAULT = "QUORUM";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_CONF = "camel.kamelet.cassandra-source.query";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_DOC = "The query to execute against the Cassandra cluster table.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_DEFAULT = null;
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_CONF = "camel.kamelet.cassandra-source.extraTypeCodecs";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_DOC = "To use a specific comma separated list of Extra Type codecs.";
public static final String CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_DEFAULT = null;
public CamelCassandrasourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelCassandrasourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_HOST_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONNECTION_PORT_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_KEYSPACE_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_RESULT_STRATEGY_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_CONSISTENCY_LEVEL_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_QUERY_DOC);
conf.define(CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CASSANDRASOURCE_KAMELET_EXTRA_TYPE_CODECS_DOC);
return conf;
}
} | 8,757 |
0 | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/cassandrasource/CamelCassandrasourceSourceTask.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.cassandrasource;
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 CamelCassandrasourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelCassandrasourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:cassandra-source";
}
} | 8,758 |
0 | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-cassandra-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/cassandrasource/CamelCassandrasourceSourceConnector.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.cassandrasource;
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 CamelCassandrasourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelCassandrasourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelCassandrasourceSourceTask.class;
}
} | 8,759 |
0 | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/opensearchindexsink/CamelOpensearchindexsinkSinkTask.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.opensearchindexsink;
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 CamelOpensearchindexsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelOpensearchindexsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:opensearch-index-sink";
}
} | 8,760 |
0 | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/opensearchindexsink/CamelOpensearchindexsinkSinkConnector.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.opensearchindexsink;
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 CamelOpensearchindexsinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelOpensearchindexsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelOpensearchindexsinkSinkTask.class;
}
} | 8,761 |
0 | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-opensearch-index-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/opensearchindexsink/CamelOpensearchindexsinkSinkConnectorConfig.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.opensearchindexsink;
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 CamelOpensearchindexsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_CONF = "camel.kamelet.opensearch-index-sink.user";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_DOC = "The username to connect to OpenSearch.";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_DEFAULT = null;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.opensearch-index-sink.password";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_DOC = "The password to connect to OpenSearch.";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLCONF = "camel.kamelet.opensearch-index-sink.enableSSL";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLDOC = "Specifies to connect by using SSL.";
public static final Boolean CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLDEFAULT = false;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_CONF = "camel.kamelet.opensearch-index-sink.hostAddresses";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DOC = "A comma-separated list of remote transport addresses in `ip:port format`. Example: quickstart-es-http:9200";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DEFAULT = null;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_CONF = "camel.kamelet.opensearch-index-sink.clusterName";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DOC = "The name of the OpenSearch cluster. Example: quickstart";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_CONF = "camel.kamelet.opensearch-index-sink.indexName";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_DOC = "The name of the OpenSearch index. Example: data";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_DEFAULT = null;
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_CONF = "camel.kamelet.opensearch-index-sink.certificate";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_DOC = "The Certificate for accessing the OpenSearch cluster. You must encode this value in base64.";
public static final String CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_DEFAULT = null;
public CamelOpensearchindexsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelOpensearchindexsinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_USER_DOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLCONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLDEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_ENABLE_SSLDOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_HOST_ADDRESSES_DOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CLUSTER_NAME_DOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_INDEX_NAME_DOC);
conf.define(CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_OPENSEARCHINDEXSINK_KAMELET_CERTIFICATE_DOC);
return conf;
}
} | 8,762 |
0 | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/execsink/CamelExecsinkSinkTask.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.execsink;
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 CamelExecsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelExecsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:exec-sink";
}
} | 8,763 |
0 | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/execsink/CamelExecsinkSinkConnector.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.execsink;
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 CamelExecsinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelExecsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelExecsinkSinkTask.class;
}
} | 8,764 |
0 | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-exec-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/execsink/CamelExecsinkSinkConnectorConfig.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.execsink;
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 CamelExecsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_CONF = "camel.kamelet.exec-sink.executable";
public static final String CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_DOC = "The command to execute";
public static final String CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_DEFAULT = null;
public CamelExecsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelExecsinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_EXECSINK_KAMELET_EXECUTABLE_DOC);
return conf;
}
} | 8,765 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceTask.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.azureservicebussource;
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 CamelAzureservicebussourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelAzureservicebussourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:azure-servicebus-source";
}
} | 8,766 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnectorConfig.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.azureservicebussource;
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 CamelAzureservicebussourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_CONF = "camel.kamelet.azure-servicebus-source.topicOrQueueName";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_DOC = "Topic Or Queue Name for the Azure Servicebus instance";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_CONF = "camel.kamelet.azure-servicebus-source.connectionString";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_DOC = "Connection String for Azure Servicebus instance";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_CONF = "camel.kamelet.azure-servicebus-source.serviceBusReceiveMode";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DOC = "Sets the receive mode for the receiver";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DEFAULT = "PEEK_LOCK";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_CONF = "camel.kamelet.azure-servicebus-source.subscriptionName";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DOC = "Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic.";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_CONF = "camel.kamelet.azure-servicebus-source.serviceBusType";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DOC = "The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DEFAULT = "queue";
public CamelAzureservicebussourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAzureservicebussourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_TOPIC_OR_QUEUE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CONNECTION_STRING_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DOC);
return conf;
}
} | 8,767 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnector.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.azureservicebussource;
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 CamelAzureservicebussourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelAzureservicebussourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAzureservicebussourceSourceTask.class;
}
} | 8,768 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mariadbsink/CamelMariadbsinkSinkTask.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.mariadbsink;
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 CamelMariadbsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelMariadbsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:mariadb-sink";
}
} | 8,769 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mariadbsink/CamelMariadbsinkSinkConnectorConfig.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.mariadbsink;
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 CamelMariadbsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_CONF = "camel.kamelet.mariadb-sink.serverName";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_CONF = "camel.kamelet.mariadb-sink.serverPort";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_DOC = "The server port for the data source.";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_DEFAULT = "3306";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_CONF = "camel.kamelet.mariadb-sink.username";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_DOC = "The username to access a secured MariaDB Database.";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.mariadb-sink.password";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_DOC = "The password to access a secured MariaDB Database.";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_CONF = "camel.kamelet.mariadb-sink.query";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_DOC = "The query to execute against the MariaDB Database. Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_DEFAULT = null;
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.mariadb-sink.databaseName";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_DOC = "The name of the MariaDB Database.";
public static final String CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_DEFAULT = null;
public CamelMariadbsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelMariadbsinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_NAME_DOC);
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_MARIADBSINK_KAMELET_SERVER_PORT_DOC);
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MARIADBSINK_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MARIADBSINK_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MARIADBSINK_KAMELET_QUERY_DOC);
conf.define(CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MARIADBSINK_KAMELET_DATABASE_NAME_DOC);
return conf;
}
} | 8,770 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mariadb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mariadbsink/CamelMariadbsinkSinkConnector.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.mariadbsink;
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 CamelMariadbsinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelMariadbsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelMariadbsinkSinkTask.class;
}
} | 8,771 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/generated/java/org/apache/camel/kafkaconnector/syslog | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/generated/java/org/apache/camel/kafkaconnector/syslog/converters/CamelStreamCacheConverterLoader.java | /* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.kafkaconnector.syslog.converters;
import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.DeferredContextBinding;
import org.apache.camel.Exchange;
import org.apache.camel.TypeConversionException;
import org.apache.camel.TypeConverterLoaderException;
import org.apache.camel.spi.TypeConverterLoader;
import org.apache.camel.spi.TypeConverterRegistry;
import org.apache.camel.support.SimpleTypeConverter;
import org.apache.camel.support.TypeConverterSupport;
import org.apache.camel.util.DoubleMap;
/**
* Generated by camel build tools - do NOT edit this file!
*/
@SuppressWarnings("unchecked")
@DeferredContextBinding
public final class CamelStreamCacheConverterLoader implements TypeConverterLoader, CamelContextAware {
private CamelContext camelContext;
public CamelStreamCacheConverterLoader() {
}
@Override
public void setCamelContext(CamelContext camelContext) {
this.camelContext = camelContext;
}
@Override
public CamelContext getCamelContext() {
return camelContext;
}
@Override
public void load(TypeConverterRegistry registry) throws TypeConverterLoaderException {
registerConverters(registry);
}
private void registerConverters(TypeConverterRegistry registry) {
addTypeConverter(registry, io.netty.buffer.ByteBuf.class, org.apache.camel.StreamCache.class, false,
(type, exchange, value) -> org.apache.camel.kafkaconnector.syslog.converters.CamelStreamCacheConverter.toByteBuf((org.apache.camel.StreamCache) value));
}
private static void addTypeConverter(TypeConverterRegistry registry, Class<?> toType, Class<?> fromType, boolean allowNull, SimpleTypeConverter.ConversionMethod method) {
registry.addTypeConverter(toType, fromType, new SimpleTypeConverter(allowNull, method));
}
}
| 8,772 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSinkConnector.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.syslog;
import org.apache.camel.kafkaconnector.netty.CamelNettySinkConnector;
import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
public class CamelSyslogSinkConnector extends CamelNettySinkConnector {
@Override
public ConfigDef config() {
return CamelSyslogSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSyslogSinkTask.class;
}
} | 8,773 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSinkConnectorConfig.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.syslog;
import java.util.Map;
import org.apache.camel.kafkaconnector.netty.CamelNettySinkConnectorConfig;
import org.apache.kafka.common.config.ConfigDef;
public class CamelSyslogSinkConnectorConfig extends CamelNettySinkConnectorConfig {
public CamelSyslogSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSyslogSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
return CamelNettySinkConnectorConfig.conf();
}
} | 8,774 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSinkTask.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.syslog;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSinkTask;
import org.apache.camel.kafkaconnector.netty.CamelNettySinkTask;
public class CamelSyslogSinkTask extends CamelNettySinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelSyslogSinkConnectorConfig(props);
}
@Override
protected Map<String, String> getDefaultConfig() {
Map<String, String> defaultConfig = new HashMap<>();
defaultConfig.putAll(super.getDefaultConfig());
defaultConfig.put(CamelSinkConnectorConfig.CAMEL_SINK_MARSHAL_CONF, "syslog");
defaultConfig.put(CamelSinkTask.getCamelSinkEndpointConfigPrefix() + "encoders", "#syslogencoder");
defaultConfig.put(CamelSinkTask.getCamelSinkEndpointConfigPrefix() + "sync", "false");
defaultConfig.put(CamelSinkTask.getCamelSinkEndpointConfigPrefix() + "useByteBuf", "true");
defaultConfig.put("camel.beans.syslogencoder", "#class:org.apache.camel.component.syslog.netty.Rfc5425Encoder");
return defaultConfig;
}
} | 8,775 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSourceConnectorConfig.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.syslog;
import java.util.Map;
import org.apache.camel.kafkaconnector.netty.CamelNettySourceConnectorConfig;
import org.apache.kafka.common.config.ConfigDef;
public class CamelSyslogSourceConnectorConfig
extends
CamelNettySourceConnectorConfig {
public CamelSyslogSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSyslogSourceConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
return CamelNettySourceConnectorConfig.conf();
}
} | 8,776 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSourceTask.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.syslog;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
import org.apache.camel.kafkaconnector.netty.CamelNettySourceTask;
public class CamelSyslogSourceTask extends CamelNettySourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelSyslogSourceConnectorConfig(props);
}
@Override
protected Map<String, String> getDefaultConfig() {
Map<String, String> defaultConfig = new HashMap<>();
defaultConfig.putAll(super.getDefaultConfig());
defaultConfig.put(CamelSourceConnectorConfig.CAMEL_SOURCE_UNMARSHAL_CONF, "syslog");
defaultConfig.put(CamelSourceTask.getCamelSourceEndpointConfigPrefix() + "decoders", "#syslogdecoder");
defaultConfig.put(CamelSourceTask.getCamelSourceEndpointConfigPrefix() + "sync", "false");
defaultConfig.put("camel.beans.syslogdecoder", "#class:org.apache.camel.component.syslog.netty.Rfc5425FrameDecoder");
return defaultConfig;
}
} | 8,777 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/CamelSyslogSourceConnector.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.syslog;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
import org.apache.camel.kafkaconnector.netty.CamelNettySourceConnector;
import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
public class CamelSyslogSourceConnector extends CamelNettySourceConnector {
@Override
public ConfigDef config() {
return CamelSyslogSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSyslogSourceTask.class;
}
} | 8,778 |
0 | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog | Create_ds/camel-kafka-connector/connectors/camel-syslog-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/syslog/converters/CamelStreamCacheConverter.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.syslog.converters;
import java.io.IOException;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.ByteBufOutputStream;
import org.apache.camel.Converter;
import org.apache.camel.StreamCache;
@Converter(generateLoader = true)
public final class CamelStreamCacheConverter {
private CamelStreamCacheConverter() {
}
@Converter
public static ByteBuf toByteBuf(StreamCache streamCache) throws IOException {
ByteBufOutputStream buf = new ByteBufOutputStream(ByteBufAllocator.DEFAULT.buffer((int) streamCache.length()));
streamCache.writeTo(buf);
buf.close();
return buf.buffer();
}
}
| 8,779 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceTask.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.azurecosmosdbsource;
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 CamelAzurecosmosdbsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelAzurecosmosdbsourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:azure-cosmosdb-source";
}
} | 8,780 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnectorConfig.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.azurecosmosdbsource;
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 CamelAzurecosmosdbsourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.azure-cosmosdb-source.databaseName";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DOC = "The Azure Cosmos database name.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_CONF = "camel.kamelet.azure-cosmosdb-source.containerName";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DOC = "The Azure Cosmos container name.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_CONF = "camel.kamelet.azure-cosmosdb-source.accountKey";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DOC = "The Azure Cosmos account Key.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_CONF = "camel.kamelet.azure-cosmosdb-source.leaseDatabaseName";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DOC = "Sets the lease container which acts as a state storage and coordinates processing the change feed across multiple workers.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_CONF = "camel.kamelet.azure-cosmosdb-source.leaseContainerName";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DOC = "Sets the lease database where the leaseContainerName will be stored.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_CONF = "camel.kamelet.azure-cosmosdb-source.createLeaseDatabaseIfNotExists";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DOC = "Sets if the component should create Cosmos lease database for the consumer automatically in case it doesn’t exist in Cosmos account.";
public static final Boolean CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DEFAULT = false;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_CONF = "camel.kamelet.azure-cosmosdb-source.createLeaseContainerIfNotExists";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DOC = "Sets if the component should create Cosmos lease container for the consumer automatically in case it doesn’t exist in Cosmos database.";
public static final Boolean CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DEFAULT = false;
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_CONF = "camel.kamelet.azure-cosmosdb-source.databaseEndpoint";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DOC = "Sets the Azure Cosmos database endpoint the component will connect to.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DEFAULT = null;
public CamelAzurecosmosdbsourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelAzurecosmosdbsourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DOC);
return conf;
}
} | 8,781 |
0 | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnector.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.azurecosmosdbsource;
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 CamelAzurecosmosdbsourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelAzurecosmosdbsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelAzurecosmosdbsourceSourceTask.class;
}
} | 8,782 |
0 | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/slacksink/CamelSlacksinkSinkConnectorConfig.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.slacksink;
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 CamelSlacksinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_CONF = "camel.kamelet.slack-sink.channel";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_DOC = "The Slack channel to send messages to. Example: #myroom";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_DEFAULT = null;
public static final String CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_CONF = "camel.kamelet.slack-sink.webhookUrl";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_DOC = "The webhook URL used by the Slack channel to handle incoming messages.";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_DEFAULT = null;
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_CONF = "camel.kamelet.slack-sink.iconEmoji";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_DOC = "Use a Slack emoji as an avatar.";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_DEFAULT = null;
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_CONF = "camel.kamelet.slack-sink.iconUrl";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_DOC = "The avatar to use when sending a message to a channel or user.";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_DEFAULT = null;
public static final String CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_CONF = "camel.kamelet.slack-sink.username";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_DOC = "The username for the bot when it sends messages to a channel or user.";
public static final String CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_DEFAULT = null;
public CamelSlacksinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelSlacksinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SLACKSINK_KAMELET_CHANNEL_DOC);
conf.define(CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_SLACKSINK_KAMELET_WEBHOOK_URL_DOC);
conf.define(CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SLACKSINK_KAMELET_ICON_EMOJI_DOC);
conf.define(CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SLACKSINK_KAMELET_ICON_URL_DOC);
conf.define(CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_SLACKSINK_KAMELET_USERNAME_DOC);
return conf;
}
} | 8,783 |
0 | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/slacksink/CamelSlacksinkSinkConnector.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.slacksink;
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 CamelSlacksinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelSlacksinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelSlacksinkSinkTask.class;
}
} | 8,784 |
0 | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-slack-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/slacksink/CamelSlacksinkSinkTask.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.slacksink;
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 CamelSlacksinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelSlacksinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:slack-sink";
}
} | 8,785 |
0 | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/chucknorrissource/CamelChucknorrissourceSourceConnector.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.chucknorrissource;
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 CamelChucknorrissourceSourceConnector
extends
CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelChucknorrissourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelChucknorrissourceSourceTask.class;
}
} | 8,786 |
0 | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/chucknorrissource/CamelChucknorrissourceSourceConnectorConfig.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.chucknorrissource;
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 CamelChucknorrissourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_CONF = "camel.kamelet.chuck-norris-source.period";
public static final String CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_DOC = "The interval (msec) to wait before getting the next joke";
public static final Integer CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_DEFAULT = 10000;
public CamelChucknorrissourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelChucknorrissourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_CHUCKNORRISSOURCE_KAMELET_PERIOD_DOC);
return conf;
}
} | 8,787 |
0 | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-chuck-norris-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/chucknorrissource/CamelChucknorrissourceSourceTask.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.chucknorrissource;
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 CamelChucknorrissourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
return new CamelChucknorrissourceSourceConnectorConfig(props);
}
@Override
protected String getSourceKamelet() {
return "kamelet:chuck-norris-source";
}
} | 8,788 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissink/CamelJmsapacheartemissinkSinkConnector.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.jmsapacheartemissink;
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 CamelJmsapacheartemissinkSinkConnector
extends
CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelJmsapacheartemissinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelJmsapacheartemissinkSinkTask.class;
}
} | 8,789 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissink/CamelJmsapacheartemissinkSinkConnectorConfig.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.jmsapacheartemissink;
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 CamelJmsapacheartemissinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_CONF = "camel.kamelet.jms-apache-artemis-sink.destinationType";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_DOC = "The JMS destination type (queue or topic).";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_DEFAULT = "queue";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_CONF = "camel.kamelet.jms-apache-artemis-sink.destinationName";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_DOC = "The JMS destination name. Example: person";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_DEFAULT = null;
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLCONF = "camel.kamelet.jms-apache-artemis-sink.brokerURL";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLDOC = "The JMS URL. Example: tcp://my-host:61616";
public static final String CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLDEFAULT = null;
public CamelJmsapacheartemissinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelJmsapacheartemissinkSinkConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_TYPE_DOC);
conf.define(CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_DESTINATION_NAME_DOC);
conf.define(CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLCONF, ConfigDef.Type.STRING, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLDEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_JMSAPACHEARTEMISSINK_KAMELET_BROKER_URLDOC);
return conf;
}
} | 8,790 |
0 | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jmsapacheartemissink/CamelJmsapacheartemissinkSinkTask.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.jmsapacheartemissink;
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 CamelJmsapacheartemissinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelJmsapacheartemissinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:jms-apache-artemis-sink";
}
} | 8,791 |
0 | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/dropboxsink/CamelDropboxsinkSinkConnector.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.dropboxsink;
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 CamelDropboxsinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelDropboxsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelDropboxsinkSinkTask.class;
}
} | 8,792 |
0 | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/dropboxsink/CamelDropboxsinkSinkTask.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.dropboxsink;
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 CamelDropboxsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelDropboxsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:dropbox-sink";
}
} | 8,793 |
0 | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-dropbox-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/dropboxsink/CamelDropboxsinkSinkConnectorConfig.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.dropboxsink;
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 CamelDropboxsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_CONF = "camel.kamelet.dropbox-sink.accessToken";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_DOC = "The access Token to use to access Dropbox";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_DEFAULT = null;
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_CONF = "camel.kamelet.dropbox-sink.clientIdentifier";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_DOC = "Dropbox App client Identifier";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_DEFAULT = null;
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_CONF = "camel.kamelet.dropbox-sink.remotePath";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_DOC = "Original file or folder to work with";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_DEFAULT = null;
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_CONF = "camel.kamelet.dropbox-sink.uploadMode";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_DOC = "Which mode to upload. in case of add the new file will be renamed if a file with the same name already exists on dropbox. in case of force if a file with the same name already exists on dropbox, this will be overwritten. The value can be one of add, force.";
public static final String CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_DEFAULT = "add";
public CamelDropboxsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelDropboxsinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_DROPBOXSINK_KAMELET_ACCESS_TOKEN_DOC);
conf.define(CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_DROPBOXSINK_KAMELET_CLIENT_IDENTIFIER_DOC);
conf.define(CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_DROPBOXSINK_KAMELET_REMOTE_PATH_DOC);
conf.define(CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_DROPBOXSINK_KAMELET_UPLOAD_MODE_DOC);
return conf;
}
} | 8,794 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mysqlsink/CamelMysqlsinkSinkConnector.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.mysqlsink;
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 CamelMysqlsinkSinkConnector extends CamelSinkConnector {
@Override
public ConfigDef config() {
return CamelMysqlsinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelMysqlsinkSinkTask.class;
}
} | 8,795 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mysqlsink/CamelMysqlsinkSinkConnectorConfig.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.mysqlsink;
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 CamelMysqlsinkSinkConnectorConfig
extends
CamelSinkConnectorConfig {
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_CONF = "camel.kamelet.mysql-sink.serverName";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_DOC = "The server name for the data source. Example: localhost";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_DEFAULT = null;
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_CONF = "camel.kamelet.mysql-sink.serverPort";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_DOC = "The server port for the data source.";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_DEFAULT = "3306";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_CONF = "camel.kamelet.mysql-sink.username";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_DOC = "The username to access a secured MySQL Database.";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_DEFAULT = null;
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_CONF = "camel.kamelet.mysql-sink.password";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_DOC = "The password to access a secured MySQL Database.";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_CONF = "camel.kamelet.mysql-sink.query";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_DOC = "The query to execute against the MySQL Database. Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_DEFAULT = null;
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_CONF = "camel.kamelet.mysql-sink.databaseName";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_DOC = "The name of the MySQL Database.";
public static final String CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_DEFAULT = null;
public CamelMysqlsinkSinkConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelMysqlsinkSinkConnectorConfig(Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_NAME_DOC);
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_MYSQLSINK_KAMELET_SERVER_PORT_DOC);
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MYSQLSINK_KAMELET_USERNAME_DOC);
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MYSQLSINK_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MYSQLSINK_KAMELET_QUERY_DOC);
conf.define(CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_MYSQLSINK_KAMELET_DATABASE_NAME_DOC);
return conf;
}
} | 8,796 |
0 | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-mysql-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/mysqlsink/CamelMysqlsinkSinkTask.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.mysqlsink;
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 CamelMysqlsinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
return new CamelMysqlsinkSinkConnectorConfig(props);
}
@Override
protected String getSinkKamelet() {
return "kamelet:mysql-sink";
}
} | 8,797 |
0 | Create_ds/camel-kafka-connector/connectors/camel-kafka-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-kafka-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkasource/CamelKafkasourceSourceConnector.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.kafkasource;
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 CamelKafkasourceSourceConnector extends CamelSourceConnector {
@Override
public ConfigDef config() {
return CamelKafkasourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
return CamelKafkasourceSourceTask.class;
}
} | 8,798 |
0 | Create_ds/camel-kafka-connector/connectors/camel-kafka-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector | Create_ds/camel-kafka-connector/connectors/camel-kafka-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkasource/CamelKafkasourceSourceConnectorConfig.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.kafkasource;
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 CamelKafkasourceSourceConnectorConfig
extends
CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-source.topic";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_DEFAULT = null;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-source.bootstrapServers";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_CONF = "camel.kamelet.kafka-source.securityProtocol";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_DOC = "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT = "SASL_SSL";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.kafka-source.saslMechanism";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_DOC = "The Simple Authentication and Security Layer (SASL) Mechanism used.";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_DEFAULT = "PLAIN";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_CONF = "camel.kamelet.kafka-source.user";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_DOC = "Username to authenticate to Kafka";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_DEFAULT = null;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.kafka-source.password";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_DOC = "Password to authenticate to kafka";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_DEFAULT = null;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-source.autoCommitEnable";
public static final String CAMEL_SOURCE_KAFKASOURCE_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_KAFKASOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-source.allowManualCommit";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits";
public static final Boolean CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-source.pollOnError";
public static final String CAMEL_SOURCE_KAFKASOURCE_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_KAFKASOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-source.autoOffsetReset";
public static final String CAMEL_SOURCE_KAFKASOURCE_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_KAFKASOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-source.consumerGroup";
public static final String CAMEL_SOURCE_KAFKASOURCE_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_KAFKASOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null;
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-source.deserializeHeaders";
public static final String CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation.";
public static final Boolean CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true;
public CamelKafkasourceSourceConnectorConfig(
ConfigDef config,
Map<String, String> parsedConfig) {
super(config, parsedConfig);
}
public CamelKafkasourceSourceConnectorConfig(
Map<String, String> parsedConfig) {
this(conf(), parsedConfig);
}
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKASOURCE_KAMELET_TOPIC_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKASOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_SECURITY_PROTOCOL_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_SASL_MECHANISM_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKASOURCE_KAMELET_USER_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKASOURCE_KAMELET_PASSWORD_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_POLL_ON_ERROR_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_AUTO_OFFSET_RESET_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKASOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_CONSUMER_GROUP_DOC);
conf.define(CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKASOURCE_KAMELET_DESERIALIZE_HEADERS_DOC);
return conf;
}
} | 8,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.