Closed FrankChen021 closed 3 months ago
This reflecets a legacy dependency problem. The dependencies should be reversed. For each pipeline, when the processor is initialized, it has to load all input sources. That's to say, the input source manager has to be splitted into the pipeline.
The following log observed.
The reason is that in the SchemaManager, which is initialized before the Pipeline, waits for 3 seconds to complete the initialization, however, for each schema, there might be table initialization which takes time.
This causes the pipeline initializes before all schema load. Once the pipeline is initialized, messages will come in, however, during message processing, the schema is still not ready. This causes message lost.
We have to wait the initialization completion of the schema manager.