nddipiazza opened a new pull request, #2487: URL: https://github.com/apache/tika/pull/2487
## Summary Fixes runtime fetcher/emitter configuration sharing between TikaGrpcServerImpl and forked PipesServer workers. ## Problem When using tika-grpc, fetchers and emitters saved via the gRPC `saveFetcher`/`saveEmitter` endpoints were not available to the forked PipesServer workers because they used separate ConfigStore instances. This caused `FetcherNotFoundException` errors when calling `fetchAndParse` after `saveFetcher`. ## Solution Modified `PipesServer.initializeResources()` to: 1. Create a ConfigStore from PipesConfig using the same factory mechanism as TikaGrpcServerImpl 2. Pass this ConfigStore to FetcherManager and EmitterManager so runtime configurations are shared 3. Enable runtime modification support by passing `true` to the load methods ## Changes - Added ConfigStore and ConfigStoreFactory imports - Added `createConfigStore()` helper method to instantiate ConfigStore from PipesConfig - Updated `initializeResources()` to create and use ConfigStore for FetcherManager and EmitterManager ## Testing This enables the tika-grpc-e2e-test suite to properly test fetcher/emitter lifecycle through gRPC. JIRA: https://issues.apache.org/jira/browse/TIKA-4594 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
