Nikolay,

Thanks for contributing in this direction! That's one of the gaps on our
end and the user community will be certainly thankful once we fill it in.

*Alexey Kuznetsov*, as one of the Spring Boot experts, could you spend some
time reviewing the changes?

As for the extensions/modularization activities, please join Saikat in the
discussions ([1] and [2]). He is contributing the foundation and moving our
existing integrations to that new repository. The Spring Boot improvements
might be moved or, another option, we might add this class to the core?

[1]
http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-12361-Migrate-Flume-module-to-ignite-extensions-td45010.html
[2]
http://apache-ignite-developers.2346864.n4.nabble.com/DISCUSS-Proposal-for-Ignite-Extensions-as-a-separate-Bahir-module-or-Incubator-project-td44064.html

-
Denis


On Sat, Jan 11, 2020 at 10:44 AM Николай Ижиков <nizhi...@apache.org> wrote:

> Hello, Igniters.
>
> During Ignite meetup I took part in there was a request from the users.
> They propose to create a custom spring boot autoconfigurer module for
> Ignite.
> This module should provide a smooth injection of Ignite to any spring-boot
> application.
>
> I've implemented a tiny straightforward prototype of the module [1]
> Examples of the usage of integration can be found in the example
> application [2]
>
> For now, the module provides the following features:
>
> 1. Starts Ignite node and inject it in the spring ApplicationContext if
> bean of the type IgniteConfiguration exists in the context.
>     This can be achieved in two ways:
>         * create `IgniteConfiguration` from java code [3]
>         * add `ignite.xml` file to the application context [4]
>
> 2. Starts IgniteClient instance and injects it int the spring Application
> if:
>     * ClientConfiguration bean exists in the context [5]
>     * `spring.data.ignite.clientAddresses` exists in the application
> properties. [6]
>
> I have a following questions regards new module:
>
>     1. We have an extension initiative so where is the right place for the
> new module?
>     2. Do we have spring experts in the community? What other features for
> this autoconfigurer module required?
>
> [1] https://github.com/apache/ignite/pull/7237/files
> [2] https://github.com/nizhikov/ignite-spring-boot-autoconfigure-example
> [3]
> https://github.com/nizhikov/ignite-spring-boot-autoconfigure-example/tree/master/src/main/java/org/apache/ignite/spring/boot/configfrombean
> [4]
> https://github.com/nizhikov/ignite-spring-boot-autoconfigure-example/tree/master/src/main/java/org/apache/ignite/spring/boot/configfromfile
> [5]
> https://github.com/nizhikov/ignite-spring-boot-autoconfigure-example/tree/master/src/main/java/org/apache/ignite/spring/boot/thinclientfrombean
> [6]
> https://github.com/nizhikov/ignite-spring-boot-autoconfigure-example/tree/master/src/main/java/org/apache/ignite/spring/boot/thinclientfromconfig
>
>

Reply via email to