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

how to connect Eclipse hono(c2e package) and Apache kafka (both internally and externally) #515

Open
kulta4 opened this issue Oct 18, 2023 · 2 comments
Labels
Cloud2Edge Improvements to the Cloud2Edge package question Further information is requested

Comments

@kulta4
Copy link

kulta4 commented Oct 18, 2023

Hi,

  1. I am trying to connect the eclipse hono which I have in c2e package with kafka (it should be inside the server/ c2e package or outside an another machine)
  2. I tried that eclipse hono to eclipse ditto connection using kafka (inside c2e package). In this case, I able to send and receive from/to both with the default tenant. But with our own tenant I able to get the data from ditto to hono.
    How will fix this both please give a guideline to achieve this. Thank you.

Best regards,
Kulta

@calohmn calohmn added question Further information is requested Cloud2Edge Improvements to the Cloud2Edge package labels Oct 22, 2023
@calohmn
Copy link
Contributor

calohmn commented Oct 22, 2023

I am trying to connect the eclipse hono which I have in c2e package with kafka (it should be inside the server/ c2e package or outside an another machine)

When you install the cloud2edge package with the default configuration, a Kafka instance gets deployed that is used by Hono. Also a corresponding Kafka connection gets created in Ditto for the demo tenant.
If you want to use an external Kafka instance, the cloud2edge chart needs to be deployed with adapted Hono chart configuration properties. This is documented in the Integrating with an existing Kafka Cluster chapter in the Hono chart README. You may also find the discussion in #477 helpful here.

I tried that eclipse hono to eclipse ditto connection using kafka (inside c2e package). In this case, I able to send and receive from/to both with the default tenant. But with our own tenant I able to get the data from ditto to hono.

Did you follow the Working with devices section in the cloud2edge tour, creating a new connection in Ditto for your tenant?

@kulta4
Copy link
Author

kulta4 commented Oct 23, 2023

Thanks for your kind response.

the cloud2edge was installed 3 months back. How to o deploy this yaml, I means it need to comewith specific configuration or just need to follow up the file placed on home directory and deploy using this command "helm install eclipse-hono eclipse-iot/hono -n hono --wait -f /path/to/customKafkaCluster.yaml"
I want to connect this eclipse hono to influxdb from external server for this only i choosed the kafka connection but i didn't find any commands will help me to achieve this and aslo the connection between the eclipse hono to ditto(both get/post)

Screenshot 2023-10-23 125943

yes, of course I followed the cloud2edge packages command to make connection ,tenant, device everthing.

Best Regards,
Kulta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cloud2Edge Improvements to the Cloud2Edge package question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants