I am facing issue while trying to extend any out of the box Ignite classes. I am trying to extend DataStreamerImpl class and overriding addData(K,V) method to do extra processing before saving it to cache.
I did not find bean definitions defined in Bean configuration file except Ignite configuration in Ignite.
If I need to extend any bean which has parametrized constructor then I had to define that constructor of base class into my child class. I passed constructor argument through Bean configuration file.
But then it gave error for GridKernalContextImpl class like no default constructor defined which got resolved when I extended this class and defined parameterized constructor. But then again it contains many objects in constructor for which
I again have to define beans and constructor arguments.
I wanted to confirm if this is the right approach or am I missing anything here.
DataStreamerImpl is an internal implementation class and it's not a good idea to extend it to provide your own implementation.
If you want to implement your own streamer to integrate with another product, refer to streamers implementation guideline . Or you can use one of the implementations that are already provided in Ignite.