Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syslog connector failure #1528

Closed
brian-keplinger opened this issue May 5, 2023 · 3 comments
Closed

syslog connector failure #1528

brian-keplinger opened this issue May 5, 2023 · 3 comments

Comments

@brian-keplinger
Copy link

I may be doing something wrong but several of us have spent many hours trying to figure this out. Any assistance would be greatly appreciated.

[2023-05-05 01:20:38,082] ERROR Failed to create job for /opt/kafka_2.13-2.8.1/config/CamelSyslogSourceConnector.properties (org.apache.kafka.connect.cli.ConnectStandalone:107)
[2023-05-05 01:20:38,082] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:117)
java.util.concurrent.ExecutionException: org.apache.kafka.connect.errors.ConnectException: Failed to find any class that implements Connector and which name matches org.apache.camel.kafkaconnector.syslog.CamelSyslogSourceConnector

CamelSyslogSourceConnector.properties

---------------------------------------------------------------------------

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.

---------------------------------------------------------------------------

name=CamelSyslogSourceConnector
connector.class=org.apache.camel.kafkaconnector.syslog.CamelSyslogSourceConnector
tasks.max=1

use the kafka converters that better suit your needs, these are just defaults:

key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=org.apache.kafka.connect.storage.StringConverter

comma separated topics to send messages into

topics=syslog

mandatory properties (for a complete properties list see the connector documentation):

The protocol to use which can be tcp or udp. One of: [tcp] [udp]

camel.source.path.protocol=udp

The hostname. For the consumer the hostname is localhost or 0.0.0.0. For the producer the hostname is the remote host to connect to

camel.source.path.host=0.0.0.0

The host port number

camel.source.path.port=514

@brian-keplinger
Copy link
Author

answer use fluentd so much simpler.

@oscerd
Copy link
Contributor

oscerd commented Jun 19, 2023

What do you had in your plugin path for this particular connector? It looks like it's not where it should be.

@oscerd
Copy link
Contributor

oscerd commented Aug 28, 2023

It seems you passed to something else. No answers.

@oscerd oscerd closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants