Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Contribution of MongoDB-based device registry

On Tue, 2017-03-28 at 15:30 +0000, Lohmann Carsten (INST/ECS4) wrote:
> Hi,
> we would like to contribute an alternative device registry implementation based
> upon storage in a MongoDB. 
> Our intention was to have a device registry that can be used in a Docker Swarm
> setup with multiple Hono server instances (which is not the case with the
> current FileBasedRegistrationService).
> Is there interest in such a solution?

Sounds great :-) I think this would be a great addition.

> Regarding the implementation:
> These additional dependencies are used:
> - vertx-mongo-client
> - Flapdoodle Embedded MongoDB (Apache License 2.0) - used for an integration
> test
I have taken a look at the transitive deps as well, this shouldn't be a problem

> We would add the implementation to the Hono server module (alongside the
> current FileBasedRegistrationService) and have the MongoDB registration service
> be selectable via a spring profile.
> Or are there other suggestions on where/how to add it?
Good question. My concern would be (with getting more alternative
implementations) that it would bloat the server artifact but people would usually
use only one implementation so it would probably be a good idea to have these
alternative implementations in separate modules so that users can mix and match
(by declaring dependencies and using the corresponding Spring profile name).

> --
> Best regards
> Carsten Lohmann
> Bosch Software Innovations GmbH
> Schöneberger Ufer 89-91
> 10785 Berlin
> _______________________________________________
> hono-dev mailing list
> hono-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit

Back to the top