package uber.data.kafka.datatransfer

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service MasterAdminService

master_admin_service.proto:17

MasterAdminService is implemented by the Master for managing the cluster. This allows an external service to control the state of the system.

service MasterWorkerService

master_worker_service.proto:20

MasterWorkerService is the GRPC service exposed by the master for the worker to contact. Each worker is required to register itself and maintain an active heartbeat for liveness and to receive work assignment.

message AuditConfig

job.proto:220

Audit configuration contains the configurations for individual audit tasks

Used in: AuditMetaData

message AuditMetaData

job.proto:214

Audit metadata contains the configurations for the different types of auditing to be performed

Used in: AuditTask, KafkaConsumerTask, KafkaConsumerTaskGroup

message AuditTask

job.proto:202

AuditTask is a specification for audit tasks in Uatu

Used in: Job

message AuditTaskGroup

job_group.proto:198

AuditTaskGroup is a specification for audit tasks in Uatu

Used in: JobGroup

enum AuditType

job.proto:313

Represents the different types of audit that can be done in KafkaAuditTask

Used in: AuditConfig

enum AutoOffsetResetPolicy

job.proto:384

AutoOffsetResetPolicy defines which offset to start to read when 1. the specified start_offset does not exist on the Kafka server, or 2. start_offset is not specified and there is no previously-committed offset on the Kafka server.

Used in: KafkaConsumerTask, KafkaConsumerTaskGroup

enum AvailabilityJobType

job.proto:293

Used in: AvailabilityTask, AvailabilityTaskGroup

message AvailabilityTask

job.proto:285

Used in: Job

message AvailabilityTaskGroup

job_group.proto:206

AvailabilityTaskGroup is a task group spec for Kafka Availability

Used in: JobGroup

message Command

master_worker_service.proto:69

Command is an instruction that is sent from master to worker to change the worker behavior.

Used in: HeartbeatResponse

enum CommandType

master_worker_service.proto:96

CommandType of the command that is being issued. The matrix of commands is: +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | - | Expected State | null | INVALID | UNIMPLEMENTED | FAILED | CANCELED | RUNNING | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | Actual State | - | - | - | - | - | - | - | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | null | - | N/A | N/A | N/A | N/A | N/A | COMMAND_RUN | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | INVALID | - | N/A | N/A | N/A | N/A | N/A | COMMAND_RUN | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | UNIMPLEMENTED | - | N/A | N/A | N/A | N/A | N/A | COMMAND_RUN | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | FAILED | - | N/A | N/A | N/A | N/A | N/A | COMMAND_RUN | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | CANCELED | - | N/A | N/A | N/A | N/A | N/A | COMMAND_RUN | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+ | RUNNING | - | COMMAND_CANCEL | COMMAND_CANCEL | COMMAND_CANCEL | COMMAND_CANCEL | COMMAND_CANCEL | COMMAND_UPDATE | | | | | | | | | if configuration change | +---------------+----------------+----------------+----------------+----------------+----------------+----------------+----------------------------------------+

Used in: Command

message CrossDCAuditConfig

job.proto:237

Represents specific audit configurations for cross DC auditing

Used in: AuditConfig

message DebugJobRow

debug.proto:29

Used in: DebugJobsTable

message DebugJobStatusRow

debug.proto:45

Used in: DebugJobStatusTable

message DebugJobStatusTable

debug.proto:41

message DebugJobsTable

debug.proto:37

message DebugMasterRow

debug.proto:50

Used in: DebugMasterTable

message DebugMasterTable

debug.proto:55

message DebugMessageStubRow

debug.proto:65

Used in: DebugMessageStubTable

message DebugMessageStubTable

debug.proto:72

message DebugNav

debug.proto:59

message DebugWorkerRow

debug.proto:16

Used in: DebugWorkersTable

message DebugWorkersTable

debug.proto:25

message EncodedFormatInfo

job.proto:168

EncodedFormatInfo configures the encoded format of the messages

Used in: KafkaDispatcherTask, KafkaDispatcherTaskGroup

enum EncodedFormatType

job.proto:160

EncodedFormatType defines the type to encode data

Used in: EncodedFormatInfo

message FlowControl

job.proto:359

Flow describes how the data should flow.

Used in: Job, JobGroup, ResqConfig

enum IsolationLevel

job.proto:396

To do exactly-once delivery in multiple partitions, Kafka guarantees atomic transactions. 1. read uncommitted messages 2. only read committed messages

Used in: KafkaConsumerTask, KafkaConsumerTaskGroup

message Job

job.proto:16

The Job is the unit of work that needs to be done.

Used in: Command, JobStatus, StoredJob

message JobGroup

job_group.proto:16

Used in: AddJobGroupRequest, GetAllJobGroupsResponse, StoredJobGroup, UpdateJobGroupRequest

message JobGroupScaleStatusSnapshot

auto_scalar.proto:20

Used in: ScaleStoreSnapshot

message JobSnapshot

job_snapshot.proto:16

JobSnapshot is an aggregated view of the job from both the master and worker's perspective.

enum JobState

job.proto:409

JobState is the current state of the worker. If you add or remove any state, please update the matrix in master_worker_service.proto and CommandListBuilder.java.

Used in: AddJobGroupRequest, GetAllJobGroupsResponse, JobStatus, StoredJob, StoredJobGroup, UpdateJobGroupStateRequest

message JobStatus

job_status.proto:16

JobStatus is used by the worker to report the current status of job it was assigned.

Used in: DebugJobStatusRow, HeartbeatRequest, StoredJobStatus

enum JobType

job.proto:339

JobType is an enumeration for the type of job to be run. This allows the master-worker protocol to generalize to multiple types of workload that needs sharding.

Used in: Job, JobGroup

message KafkaConsumerTask

job.proto:70

KafkaConsumerTask is a specification for a Kafka Consumption task.

Used in: Job

message KafkaConsumerTaskGroup

job_group.proto:84

KafkaConsumerTaskGroup is a specification for a Kafka Consumption Group task.

Used in: JobGroup

message KafkaConsumerTaskStatus

job_status.proto:32

KafkaConsumerTaskStatus represents the state of a consumer task.

Used in: JobStatus

message KafkaDispatcherTask

job.proto:142

KafkaDispatcherTask is a specification for a Kafka dispatcher task.

Used in: Job

message KafkaDispatcherTaskGroup

job_group.proto:154

Used in: JobGroup

message KafkaDispatcherTaskStatus

job_status.proto:54

KafkaDispatcherTaskStatus represents the state of the dispatcher task.

Used in: JobStatus

message MiscConfig

job.proto:445

MiscConfig contains the miscellaneous configs of a jobGroup/job

Used in: Job, JobGroup

message Node

worker.proto:15

Node identifies a member of a cluster.

Used in: Participants, StoredWorker

message Participants

master_worker_service.proto:63

Participants is a master-worker pair of participants. Participants is included in all master-worker requests so that both parties are clear about who they are communicating and the Node id can be used to as a fencing mechanism.

Used in: HeartbeatRequest, HeartbeatResponse, RegisterWorkerRequest, RegisterWorkerResponse

message PartitionOffsetRange

job_group.proto:227

PartitionOffsetRange is a specification for a single partition offset range.

Used in: PartitionOffsetRanges

message PartitionOffsetRanges

job_group.proto:221

PartitionOffsetRanges is a specification for a set of partition offset ranges.

Used in: KafkaConsumerTaskGroup

message ReplicationAuditConfig

job.proto:245

Represents specific audit configurations for auditing replication pipeline

Used in: AuditConfig

message ReplicationTask

job.proto:307

ReplicationTask is the task spec for Kafka Replication/Ingestion jobs

Used in: Job

message ReplicationTaskGroup

job_group.proto:215

ReplicationTaskGroup is a task group spec for Kafka Replication/Ingestion

Used in: JobGroup

message ResqConfig

job.proto:270

ResqConfig configures the underlying resilience queue for a topic in the consumer

Used in: Job, JobGroup

message RetentionAuditConfig

job.proto:249

Used in: AuditConfig

message RetryConfig

job.proto:177

RetryConfig configures the retry policy for retriable errors. It's the updated version of RetryConfig(see below).

Used in: Job, JobGroup

message RetryQueue

job.proto:185

RetryQueue configures one retry queue in a set of retry queues

Used in: RetryConfig

message RpcDispatcherTask

job.proto:105

RpcDispatcherTask is a specification for a Rpc Dispatcher task.

Used in: Job

message RpcDispatcherTaskGroup

job_group.proto:118

Used in: JobGroup

message ScaleComputerSnapshot

auto_scalar.proto:38

Used in: ScaleStateSnapshot

message ScaleStateSnapshot

auto_scalar.proto:31

Used in: JobGroupScaleStatusSnapshot

message ScaleStatus

job_group.proto:188

scale status of job group

Used in: AddJobGroupRequest, GetAllJobGroupsResponse, StoredJobGroup

message ScaleStoreSnapshot

auto_scalar.proto:15

message SecurityConfig

job.proto:370

SecurityConfig stores details of the user service identities. It also holds the flag which is used to decide if a job will be run securely.

Used in: Job, JobGroup

message StoredJob

job.proto:429

StoredJob is the internal representation of job within storage.

Used in: DebugJobRow, JobSnapshot, StoredJobGroup

message StoredJobGroup

job_group.proto:171

JobGroup is a grouping of jobs that represent a single logical resource. In Kafka, JobGroup -> topic and Job -> topic-partition.

Used in: AddJobGroupResponse, GetJobGroupResponse, UpdateJobGroupResponse, UpdateJobGroupStateResponse

message StoredJobStatus

job_status.proto:59

StoredJobStatus is the internal representation of JobStatus report from worker

Used in: JobSnapshot

message StoredWorker

worker.proto:31

StoreWorker is the internal representation of a worker on the master within storage. We choose to use protobuf encoded Worker so that schema evolution for data written to storage can be seamlessly handled between master upgrades. This shall only be used internally in the master's implementation and shall not be exposed to the worker.

Used in: DebugWorkerRow

message TopicInfo

job.proto:262

TopicInfo represents information about a topic

Used in: TopicsToCompare

message TopicsToCompare

job.proto:254

TopicsToCompare represents the source(LHS) and the destination(RHS) topics that must be compared against

Used in: CrossDCAuditConfig, ReplicationAuditConfig

message WindowSnapshot

auto_scalar.proto:53

Used in: WindowedComputerSnapshot

message WindowedComputerSnapshot

auto_scalar.proto:44

Used in: ScaleComputerSnapshot

enum WorkerState

worker.proto:41

WorkerState is the state of the worker.

Used in: StoredWorker