-
Notifications
You must be signed in to change notification settings - Fork 49
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
Bug: unknown method LifecycleOnCreated #1999
Bug: unknown method LifecycleOnCreated #1999
Comments
@mm-zacharydavison Thanks for reporting the issue! You're right in that the lifecycle methods shouldn't be an issue. I'll look into this. Btw, we've updated the SDK in the Elasticsearch connector. It's currently in the main branch. I'll check with the team if we're good to publish a release. |
I've managed to get this working by building the latest connector from master. However, now I have another issue:
It looks like there's an issue with the connector in latest master still. For debugging purposes, here's the output from a
Is there potentially a compatibility issue with the protobufs used? |
I don't think that should be needed, but I'll check this out, it's an interesting issue. I see a |
Just the |
Gotcha... So with that, and also with the fact the log destination is working, we can be 99% sure it's the ES connector, and I don't think using latest Conduit will help. My guess is that the automatic schema decoding in the ES connector is somehow wrong, I'll confirm very soon. |
@mm-zacharydavison Please try the latest |
great! ill try this tomorrow. |
No problems at all, you helped us more with filing the issue and the very detailed instructions how to reproduce it. 💪 |
Btw, the issue was the following: The Postgres connector is encoding all records using Avro. The ES connector got those records in their encoded form (hence that error message about bytes). That was because the ES connector wasn't using the SDK middleware for automatically decoding the records. |
Actually, I'll reopen this issue, so we can look into why doesn't backwards compatibility work. |
Works perfectly! Thanks. |
You're welcome! |
Bug description
I'm trialling Conduit for our use case of CDCing data from postgres -> elasticsearch.
Using:
I'm noticing this error on start:
Looking at the code, it does look like the elasticsearch connector is old, and doesn't support the lifecycle methods, but I thought that Conduit was meant to allow backwards compatibility in those cases as per
conduit/pkg/connector/destination.go
Lines 317 to 318 in 0345e4b
Steps to reproduce
Environment
Configuration
docker-compose.yaml
./pipelines/my-pipeline.yaml
Version
v0.12.3 x86_64
The text was updated successfully, but these errors were encountered: