Closed alarbada closed 1 month ago
The internal FaninNode collects records from 1 or more sources and then forwards them to the next node.
Your pipeline has no source connectors, so the FaninNode complains that the in
channel hasn't been hooked up to another node, i.e. no input to the FaninNode. In this case, that's quite expected, so I don't think there's a real issue here. Let me know if you still have some concerns about this, otherwise, I think we can close this one.
@hariso Hi there Yeah, it is really a misconfiguration, it doesn't really make sense. I found that error just tinkering around. However, I'd like to see a better error than a panic, I had no idea what a FaninNode was until I delved into the conduit codebase.
Looks like a good first issue! If you don't mind @simonl2002 after I get some free time from the connectors work I'd like to see if I can make conduit output a better error than this panic.
Otherwise feel free to close this @hariso.
@alarbada Good that we're on the same page about this. I think you can change this issue into a feature that prints a nicer error message. We can easily do some checks before attempting to build a pipeline.
Feature description
Related to #1026, I get the same panic:
Steps to reproduce
pipeline.destination.yml
$ conduit -pipelines.path pipeline.destination.yml
I get the same panic. I did not need to build the pinecone connector.
Version
v0.10.0 linux/amd64