Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Refusing redis connection #3024

Closed
amrubal01 opened this issue Nov 20, 2024 · 1 comment
Closed

Refusing redis connection #3024

amrubal01 opened this issue Nov 20, 2024 · 1 comment

Comments

@amrubal01
Copy link

I am using Redpanda Connect (formerly known as Benthos) for data streaming and manipulation. I am trying to output the results of my data streaming to a redis stream. I was previously able to do this, but since the switch to Redpanda I have not been able to connect to Redis even though I have a redis server running locally.

Here is the output mapping I have set up for it:
output: redis_streams: url: tcp://redis:6379 stream: "newstream" body_key: body max_length: 0 max_in_flight: 64 metadata: exclude_prefixes: [] batching: count: 0 byte_size: 0 period: "" check: ""

Here is the error I get: configuration file read error: parseLogs.yaml: (33,1) unable to infer output type from candidates: [redis_streams]

I am not sure if there is something I am missing now but I have not been able to find anything in the docs thus far.

https://docs.redpanda.com/redpanda-connect/components/outputs/redis_streams/?tab=tabs-1-common

@mihaitodor
Copy link
Collaborator

mihaitodor commented Nov 20, 2024

Hey @amrubal01 👋 I just tried running the following yaml and it works for me:

input:
  stdin: {}
output:
  redis_streams:
    url: tcp://redis:6379
    stream: "newstream"
    body_key: body
    max_length: 0
    max_in_flight: 64
    metadata:
      exclude_prefixes: []
    batching:
      count: 0
      byte_size: 0
      period: ""
      check: ""

Can you please make sure that you're using a Connect release? Alternatively, if you have custom plugins, you'll need to import the appropriate Connect bundle: https://github.com/redpanda-data/redpanda-connect-plugin-example/blob/d1461319dd7f4179bf9095c2cc7b25e8e87239e3/main.go#L8-L13

PS: Moving to a discussion as per #2026.

@redpanda-data redpanda-data locked and limited conversation to collaborators Nov 20, 2024
@mihaitodor mihaitodor converted this issue into discussion #3025 Nov 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants