程序包 org.apache.pulsar.functions.worker
package org.apache.pulsar.functions.worker
-
类说明This class is responsible for reading assignments from the 'assignments' functions internal topic.FunctionMetaDataManager maintains a global state of all function metadata.This class managers all aspects of functions assignments and running of function assignments for this worker.A class to generate stats for pulsar functions running on this broker.A starter to start function worker.A simple implementation of leader election using a pulsar topic.Validates package URLs for functions and connectors.A service component contains everything to run a worker except rest server.The scheduler manager is used to compute scheduling of function instances Only the leader computes new schedulings and writes assignments to the assignment topic The lifecyle of this class is the following: 1.API service provides the ability to manage functions.