Fixing retry functionality
Indexer Service retries the batch of messages that could not be indexed by sending them back to service bus. However, since the createWorkerTask
method was not overloaded currently, the implementation getting executed was the one in indexer-core which does not send messages to service bus but makes a call to itself (it calls the index-worker endpoint - Link to code)
This MR aims at overloading the createWorkerTask
such that the correct implementation is picked up and executed (i.e, the one in this class - Link to code)
Similar change was added for createReIndexTask
method.
Edited by Vibhuti Sharma [Microsoft]