Subscription Issue

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, java
Domain
backend, cloud

Research direction

Start by reviewing the Greengrass subscription setup for Device A and Lambda B, focusing on the local MQTT topic test1 and the difference between in-group and AWS IoT Cloud subscriptions. Done means determining why the local publish is not delivered to Lambda B and documenting the required configuration.

Written by the indexing model from the issue text.

Description

Hi Team,

I'm trying to use subscription functionality to achieve local data sharing between the devices. For this I have the below scenario:

There is a device A which read payload from an external system(XYZ) over MQTT protocol and publish this payload over a new topic test1 and there is another lambda function B that subscribed topic test1. Both are attached in the Greengrass group. when I deployed this in-group the lambda function not able to read the topic test1 payload but when I change the subscription of Device A to AWS IoT Cloud then lambda function starts reading the publish topic payload. I don't know why this happening. Does Greengrass not support horizontal subscription.

Scenario 1:(Not Working)
topic:test1
Device A----------------> Lambda B (Not Working)

Scenario 1:(working)
topic:test1
Device A ----------------> AWS IoT Cloud
topic:test1
Device A--------------> Lambda B

Please suggest what is wrong I am doing here.

Regards,
Raj

Dominant language
No language data
Stars
9
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-greengrass-core-sdk-java

All issues in aws/aws-greengrass-core-sdk-java

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.