You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asya🎭 can use different Message Queues as transport - as long as they implement the interface:
for sidecar (transport.go):
// QueueMessage represents a message received from a queuetypeQueueMessagestruct {
IDstringBody []byteReceiptHandleinterface{} // Transport-specific receipt handleHeadersmap[string]string// User-defined metadata (protocol-level headers)
}
// Transport defines the interface for queue transport implementationstypeTransportinterface {
// Receive receives a message from the specified queueReceive(ctx context.Context, queueNamestring) (QueueMessage, error)
// Send sends a message to the specified queueSend(ctx context.Context, queueNamestring, body []byte) error// Ack acknowledges successful processing of a messageAck(ctx context.Context, msgQueueMessage) error// Nack negatively acknowledges a message (for retry)Nack(ctx context.Context, msgQueueMessage) error// Close closes the transport connectionClose() error
}
for operator (interface.go):
// QueueReconciler handles queue creation and lifecycle for a specific transporttypeQueueReconcilerinterface {
// ReconcileQueue creates or updates the queue for an actorReconcileQueue(ctx context.Context, actor*asyav1alpha1.AsyncActor) error// DeleteQueue deletes the queue for an actorDeleteQueue(ctx context.Context, actor*asyav1alpha1.AsyncActor) error
}
// ServiceAccountReconciler handles ServiceAccount creation for transports that need it (e.g., SQS with IRSA)typeServiceAccountReconcilerinterface {
// ReconcileServiceAccount creates or updates ServiceAccount if neededReconcileServiceAccount(ctx context.Context, actor*asyav1alpha1.AsyncActor) error
}
Currently, Asya🎭 supports:
SQS - primary transport
RabbitMQ - Open-Source alternative, currently at alpha testing stage
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Asya🎭 can use different Message Queues as transport - as long as they implement the interface:
transport.go):interface.go):Currently, Asya🎭 supports:
Our plan is to keep adding support for new transports from the list of 79 KEDA-supported transports: https://keda.sh/docs/2.18/scalers/
Leave your requests below
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions