资源绑定的Metadata总结
Dapr资源绑定的Metadata总结
总结一下各种binding实现中 metadata 的设计和使用:
实现 | 配置级别的metadata | 请求级别的metadata |
---|---|---|
alicloud oss | key | |
HTTP | url / method | 无 |
cron | schedule | 无 |
MQTT | url / topic | 无 |
RabbitMQ | host / queueName / durable deleteWhenUnused / prefetchCount |
ttlInSeconds |
Redis | host / password / enableTLS / maxRetries / maxRetryBackoff |
key |
Influx | url / token / org / bucket | 无 |
Kafka | brokers / topics / publishTopic consumerGroup / authRequried saslUsername / saslPassword |
key |
Kubernetes | namespace / resyncPeriodInSec / | 无 |
twilio-sendgrid | apiKey / emailFrom / emailTo subject / emailCc / emailBcc |
emailFrom / emailTo / subject emailCc / emailBcc |
twilio-sms | toNumber / fromNumber / accountSid authToken / timeout |
toNumber |
consumerKey / consumerSecret / accessToken accessSecret / query |
query / lang / result / since_id | |
gcp-bucket | bucket / type / project_id / private_key_id private_key / client_email / client_id auth_uri / token_uri auth_provider_x509_cert_url / client_x509_cert_url |
name |
gcp-pubsub | topic / subscription / type / project_id / private_key_id / private_key client_email / client_id / auth_uri / token_uri auth_provider_x509_cert_url / client_x509_cert_url |
topic |
Azure-blobstorage | storageAccount / storageAccessKey / container | blobName / ContentType / ContentMD5 ContentEncoding / ContentLanguage ContentDisposition / CacheControl |
Azure-cosmosDB | url / masterKey / database / collection / partitionKey |
无 |
Azure-EventGrid | tenantId / subscriptionId / clientId clientSecret / subscriberEndpoint handshakePort / scope eventSubscriptionName / accessKey topicEndpoint |
无 |
Azure-EventHubs | connection / consumerGroup / storageAccountName / storageAccountKey / storageContainerName partitionID / partitionKey |
partitionKey |
Azure-ServiceBusQueues | connectionString / queueName / ttl | id / correlationID / ttlInSeconds |
Azure-SignalR | connectionString / hub | hub / group / user |
Azure-storagequeue | ttlInSeconds | |
Aws-dynamodb | region / endpoint / accessKey secretKey / table |
无 |
Aws-kinesis | streamName / consumerName / region endpoint / accessKey secretKey / mode |
partitionKey |
Aws-s3 | region / endpoint / accessKey secretKey / bucket |
key |
Aws-sns | topicArn / region / endpoint accessKey / secretKey |
无 |
Aws-sqs | queueName / region / endpoint accessKey / secretKey |
无 |