Documentation ¶
Index ¶
Constants ¶
View Source
const ( CTX_KEY_INVOKER_LIB_PROCESSOR_NAME = contextKey("invoker_lib_processor_name") CTX_KEY_INVOKER_LIB_WORKER_ID = contextKey("invoker_lib_worker_id") CTX_KEY_INVOKER_LIB_WORKER_INDEX = contextKey("invoker_lib_worker_index") CTX_KEY_INVOKER_LIB_WORKER_TOPIC = contextKey("invoker_lib_worker_topic") CTX_KEY_INVOKER_LIB_CRON = contextKey("invoker_lib_cron") )
View Source
const ( REQUEST_KEY_COMMAND = "invoker_command" REQUEST_KEY_PARAMS = "invoker_params" )
View Source
const ( MimeTypeJson = "application/json" MimeTypeMultipartFormData = "multipart/form-data" )
View Source
const ( ProcessorTypeProcess = "process" ProcessorTypeJoin = "join" )
View Source
const CacheSize = 500 * 1024 * 1024
View Source
const DefaultCatLimit = 1000
View Source
const JoinKeyBufferMinCapacity = 8
View Source
const JoinMinWindowSize = 10
View Source
const MetricsNamespace = "invoker"
View Source
const RedisPingRetryTimes = 3
Variables ¶
View Source
var ( ErrProcessorTypeNotRecognized = fmt.Errorf("unrecognized processor type") ErrInputProcessorNotComplete = fmt.Errorf("left input processor and right input processor must not be empty") ErrConfigNotInitialized = fmt.Errorf("config is not initialized") ErrReadPtrSameAsWritePtr = fmt.Errorf("read ptr is same as write ptr") ErrLockBufferFailure = fmt.Errorf("fail to lock buffer") ErrLockSlotFailure = fmt.Errorf("fail to lock slot") ErrStateStoreKeyNotExist = fmt.Errorf("state store key does not exists") )
Functions ¶
func ErrKafkaTopicEmpty ¶ added in v0.4.6
func ErrKakfaAddressEmpty ¶ added in v0.4.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.