Hi Team, I have been trying hard to be self suffic...
# troubleshooting
c
Hi Team, I have been trying hard to be self sufficient and not pester, but I am lacking understanding and not finding clear documentation. I have pulled down Flink 1.20.0 on my linux machine. I would like to simply query Kafka using Flink SQL. The only way that I can get it work is if I pass "--jar flink-sql-connector-kafka-3.30.2-1.20.jar" as an argument to sql-client.sh script. I am not understanding how exactly this is supposed to work. I read that I'm supposed to put the jar in "/plugins/kafka" folder other places I read "/lib" folder. Neither one works. What is the Normal way to set up connectivity to kafka? Any help and knowledge is deeply appreciated as I'm running fumes searching.
r
as you've found, Flink doesn't ship with connectors built in, so you have to add JARs manually.
--jar
is one way, but
lib
is probably easier to manage IMHO. Not sure where you've seen
plugins/kafka
but that'd only work if you muck about with the
CLASSPATH
for it to get picked up from there (I think; I could be wrong)
πŸ™Œ 1
c
THANK YOU!!!! I'll read up on this one.
r
BTW:
I have been trying hard to be self sufficient and not pester,
self-sufficient is good, but the community is here to help πŸ™‚
g
@Chad Theis That presentation was very helpful in helping me get my Flink environment setup for success when using Flink SQL
πŸ™Œ 1
c
Well that was the best 43 minutes of my week! So thankful for that talk @rmoff - I was able to understand and track down the solution in 10 minutes with the tools you gave me. That was a solid !
πŸ™Œ 2
r
that is awesome to hear πŸ™‚ so pleased it helped.
y
I guess I should have asked this last week! I've been in the same boat πŸ™‚