moquette-io / moquette

Java MQTT lightweight broker
http://moquette-io.github.io/moquette/
Apache License 2.0
2.29k stars 817 forks source link

Bridging to a cloud broker [Microsoft Azure -- IOT Hub] ? #513

Open i-m-aj opened 4 years ago

andsel commented 4 years ago

Please file a request with more details, "bridging to a cloud broker" is not so clear to understand what you mean

i-m-aj commented 4 years ago

Please file a request with more details, "bridging to a cloud broker" is not so clear to understand what you mean

I am sorry. So i am able to run broker in my android device. I am using for azure iot for remote access. I want to bridge between my android broker and azure iot.

andsel commented 4 years ago

You have to write some code to bridge it. Moquette exposes a set of Interceptor callback interfaces, you can implement the one you are interested in (for example a forwarder to Azure using some Azure HTTP endpoint or whatever protocol Azure use) and register in you embedded application.

On Fri, Jan 17, 2020 at 10:24 AM Amit Jaiswal notifications@github.com wrote:

Please file a request with more details, "bridging to a cloud broker" is not so clear to understand what you mean

I am sorry. So i am able to run broker in my android device. I am using for azure iot for remote access. I want to bridge between my android broker and azure iot.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/moquette-io/moquette/issues/513?email_source=notifications&email_token=AAH5RUKNMO4ZMQSG3XPDDNLQ6F2OHA5CNFSM4KIDNQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHB7WQ#issuecomment-575545306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5RUMNBGPURCWKGD2UKLTQ6F2OHANCNFSM4KIDNQKA .

i-m-aj commented 4 years ago

You have to write some code to bridge it. Moquette exposes a set of Interceptor callback interfaces, you can implement the one you are interested in (for example a forwarder to Azure using some Azure HTTP endpoint or whatever protocol Azure use) and register in you embedded application. On Fri, Jan 17, 2020 at 10:24 AM Amit Jaiswal @.***> wrote: Please file a request with more details, "bridging to a cloud broker" is not so clear to understand what you mean I am sorry. So i am able to run broker in my android device. I am using for azure iot for remote access. I want to bridge between my android broker and azure iot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#513?email_source=notifications&email_token=AAH5RUKNMO4ZMQSG3XPDDNLQ6F2OHA5CNFSM4KIDNQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHB7WQ#issuecomment-575545306>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5RUMNBGPURCWKGD2UKLTQ6F2OHANCNFSM4KIDNQKA .

Thanks

i-m-aj commented 4 years ago

You have to write some code to bridge it. Moquette exposes a set of Interceptor callback interfaces, you can implement the one you are interested in (for example a forwarder to Azure using some Azure HTTP endpoint or whatever protocol Azure use) and register in you embedded application. On Fri, Jan 17, 2020 at 10:24 AM Amit Jaiswal @.***> wrote: Please file a request with more details, "bridging to a cloud broker" is not so clear to understand what you mean I am sorry. So i am able to run broker in my android device. I am using for azure iot for remote access. I want to bridge between my android broker and azure iot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#513?email_source=notifications&email_token=AAH5RUKNMO4ZMQSG3XPDDNLQ6F2OHA5CNFSM4KIDNQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHB7WQ#issuecomment-575545306>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5RUMNBGPURCWKGD2UKLTQ6F2OHANCNFSM4KIDNQKA .

Using Interceptor we can only send data to remote. What about to receive messages from remote? I have seen some blogs but there is no configuration here [https://aws.amazon.com/blogs/iot/how-to-bridge-mosquitto-mqtt-broker-to-aws-iot/]