Commit Graph

1270 Commits

Author SHA1 Message Date
Bernd Verst 8974eca74c Fix MQTT metadata test
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-27 20:36:15 +00:00
Alessandro (Ale) Segala f55dedbbe9 More sane defaults for default values in MQTT metadata (#1810)
Fixes #1809

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-27 20:36:15 +00:00
ItalyPaleAle a021fb5f9d Track out-of-order messages only on first retry
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-27 20:36:15 +00:00
ItalyPaleAle 6cf1afc264 Re-add built-in retries to pubsub.hazelcast
See: https://github.com/dapr/components-contrib/issues/1808
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-27 20:36:15 +00:00
ItalyPaleAle 35034aa877 Disable built-in retries in pubsub components
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-27 20:36:15 +00:00
seeflood 8f04d5d15d
must have `redisHost` (#1814)
Signed-off-by: seeflood <349895584@qq.com>
2022-06-23 17:06:20 -07:00
Sky Ao cfdba5ee1d
change some parameters to wait for kafka ready (#1806)
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
2022-06-21 09:12:33 -07:00
Sky Ao 0b2e48a4da
Fix kafka binding consumer rebalance (#1804)
* improve log of kafkaf components cert test

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* add close() method to kafka binding component to fix the consumer rebalance bug

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-21 06:56:09 -07:00
shiling02404 6d0636ebab
add id when registering services to consul (#1802) 2022-06-21 06:41:07 -07:00
Bernd Verst ccf6111892
Do not continue workflow on error (#1803)
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-20 21:14:22 -07:00
Bernd Verst 7bc20c6cde
Update certification workflow (#1801) 2022-06-20 17:01:04 -07:00
tanvigour 55a3d7f7d4
Complete Eventhubs bindings certification test (#1716)
* Complete Eventhubs bindings certification test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* check if single test point runs all good

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* check if single test point runs all good

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* increase the sleep time to fix timeout

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* increase the sleep time to fix timeout

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* increase sleep for all other testpoints too

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test behavior of single partition test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* delete eventhub and container afer run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* delete eventhub and container afer run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* delete eventhub and container afer run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test reconnection in one test point only

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test reconnection in one test point only

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test reconnection in one test point only

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test reconnection in one test point only

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test reconnection in one test point only

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* delete the container after every test run for cleanup

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* run service principal test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* Go mod tidy-all

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* revert back changes to last clean state

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* add unique consumer id per component yaml

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* remove consumer id from singlepartition test component yaml

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* remove repetitive test case, test service principal case

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* remove repetitive test case, test service principal case

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test iothub

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* test iothub

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* run service principal test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* run service principal test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* run service principal test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* run service principal test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* add connection string to eventhub service principal yaml

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* use a particular partition

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* enable iothub test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* enable iothub test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* enable iothub test

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* final cleanup and test run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* final cleanup and test run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* final cleanup and test run

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* add test plan readme

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* rollback the bicep change that is not needed

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* make sure through test that a specific partition receives specific data

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* clean the container between two partiton assertions

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* put back partition id in yaml

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* add same level of partition testing for both partitions

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

* address feedback

Signed-off-by: tanvigour <tanvi.gour@gmail.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-20 14:46:49 -07:00
Bernd Verst 9d7f4867b4
Infra changes for Azure Table Storage Certification tests (#1795)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-20 10:03:37 -07:00
Sky Ao d6dd10e19d
improve log of kafkaf components cert test (#1800)
Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
2022-06-20 09:49:09 -07:00
Bernd Verst 55888c0d22
update imports for Fossa and Certification test (#1796)
* update imports for Fossa and Certification test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-17 15:51:22 -07:00
Alessandro (Ale) Segala a08988c25e
Shared implementation for Azure Service Bus subscriptions for binding and pubsub (#1791)
* Moved ASB subscription code to a shared package

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Moved ASBQ binding to use the shared ASB implementation

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updating Azure Service Bus SDK version

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-17 15:12:15 -07:00
Bernd Verst f25b26fc0c
Upgrade to Azure Table Storage Track 2 SDK in State Store and add CosmosDB Table API support (#1792)
* Upgrade to Azure Table Storage Track 2 SDK in State Store

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make modtidy-all

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* don't panic

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* fix error parsing

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Adds support for empty rowKeys again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Pin aztables v1.0.1

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add support for Cosmos DB Table API

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add Azure Table Storage CosmosDB conformance test

Signed-off-by: GitHub <noreply@github.com>

* Address code review

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Create Table Storage State store subtests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Address linter issue

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* context instead of ctx

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* load state store in conf tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* use cosmosDB mode in cosmosDB test

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add Azure AD support for Table Storage

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* remove shadow declaration

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* make accountKey optional

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Add options to skip table creation

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-17 14:04:53 -07:00
Yaron Schneider 4727ea8b33
add json tags to lock requests/responses (#1788)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-06-14 14:36:10 -07:00
Christian Kaps 6f159394b7
Update to Camunda Platform 8 (#1787)
Signed-off-by: Christian Kaps <ck-github@mohiva.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-14 10:01:41 -07:00
deepanshuagarwal a0ef46265b
Adding Pinger interface and Removing mandatory nature of Ping fuction (#1784)
* add `Pinger` interface.

Signed-off-by: chanyong.moon <dev.chanyongmoon@gmail.com>

* Convert Ping fuction to optional

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Removing unrequired Ping implementations

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Addressing comments

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

Co-authored-by: chanyong.moon <dev.chanyongmoon@gmail.com>
2022-06-14 08:27:54 -07:00
Bernd Verst 83a76d556a
Upgrade Apache Dubbo again - pin to Dapr support branch (#1786) 2022-06-13 19:10:51 -07:00
Loong Dai 419e296d35
middleware: add wasm basic (#1747)
* middleware: add wasm basic

Signed-off-by: Loong <loong.dai@intel.com>

* Update middleware/http/wasm/basic/basic.go

* Update middleware/http/wasm/basic/basic.go

Co-authored-by: Taction <zchao9100@gmail.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-13 12:18:06 -07:00
Yaron Schneider 8728f8a4c9
add file upload to s3 (#1785)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-06-13 11:48:50 -07:00
saber-wang d7eb3b7b27
[pubsub][rabbitmq]add support for binding multiple routingkeys at the same time (#1750)
* Add metadata property to configure BatchingMaxSize&batchingMaxMessages in Pulsar
Signed-off-by: saberwang <saberwang@hotmail.com>

* sort field
Signed-off-by: saberwang <saberwang@hotmail.com>

* [pubsub]fix unit test bug
Signed-off-by: saberwang <saberwang@hotmail.com>

* remove unrelated changes
Signed-off-by: saberwang <saberwang@hotmail.com>

* Delete hard coded Metadata
Signed-off-by: saberwang <saberwang@hotmail.com>

* remove  .history

Signed-off-by: saberwang <saberwang@hotmail.com>

* restore .gitignore

Signed-off-by: saberwang <saberwang@hotmail.com>

* Hard coding default values and adding 'BatchingMaxPublishDelay' metadata

Signed-off-by: saberwang <saberwang@hotmail.com>

* fix code format

Signed-off-by: saberwang <saberwang@hotmail.com>

* formatting code

Signed-off-by: saberwang <saberwang@hotmail.com>

* [pubsub][rabbitmq]Add support for binding multiple routingkeys at the same time

Signed-off-by: saberwang <saberwang@hotmail.com>

* add TestSubscribeBindRoutingKeys

Signed-off-by: saberwang <saberwang@hotmail.com>

* fix: Infof to Debugf

Signed-off-by: saberwang <saberwang@hotmail.com>

* Update pubsub/rabbitmq/rabbitmq_test.go

Co-authored-by: Looong Dai <long.dai@intel.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2022-06-10 16:34:15 -07:00
Alessandro (Ale) Segala 98aed5c571
Make Service Bus attempt to reconnect forever in case of issues (#1783)
* Make Service Bus attempt to reconnect forever in case of issues

With exponential back-off configurable between min and max time. Fixes #1612

Also includes fixes:

- Binding: make sure it actually retries to connect forever
- Binding: add delay (exponential backoff) before reconnecting
- PubSub: better handling of failures such as topics disabled or other non-connection issues

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 💄

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added warning for deprecated metadata options

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* 💄

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-10 15:54:46 -07:00
dependabot[bot] 1db4173a9d
Bump github.com/open-policy-agent/opa from 0.23.2 to 0.40.0 (#1757)
* Bump github.com/open-policy-agent/opa from 0.23.2 to 0.40.0

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.23.2 to 0.40.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.23.2...v0.40.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update go mods

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-10 13:00:34 -07:00
Alessandro (Ale) Segala 6f3234d5ac
Rabbitmq publisher confirm (#1762)
* Added `publishConfirm` option to RabbitMQ

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Changed to publisherConfirm per feedback

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-10 12:47:02 -07:00
Laurence 7145287978
fix: dubbo binding enhancement (#1782)
* fix: dubbo binding enhancement

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: tidy all

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* mod tidy

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* Pin couchbaselabs/gojcbmock to commit with LICENSE

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* modtidy again

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

* commit to retrigger tests

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-10 12:16:37 -07:00
Yaron Schneider 37693b8d63
Add postgresql certification test + connection idle time (#1778)
* Add postgresql certification test + connection idle time

Signed-off-by: yaron2 <schneider.yaron@live.com>

* change flow name

Signed-off-by: yaron2 <schneider.yaron@live.com>

* go mod tidy

Signed-off-by: yaron2 <schneider.yaron@live.com>

* add to workflow

Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-06-10 11:07:26 -07:00
Bernd Verst 76bc9acd57
Add additional Event Hub topics for certification tests (#1767)
* Add additional Event Hub topics for certification tests

Signed-off-by: GitHub <noreply@github.com>

* Apply EventHubs changes for pubsub and binding cert tests

Signed-off-by: GitHub <noreply@github.com>

* Remove partitions from EHs because we don't want to pay for premium

Signed-off-by: GitHub <noreply@github.com>
2022-06-08 10:26:23 -07:00
deepanshuagarwal 1af102f6f3
Add Redis StateStore Certification Tests (#1763)
* Add redis certification test

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Adding Test Plan in ReadMe

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Adding redis state cert test to workflow

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>

* Overwrite open telemetry dependency

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-07 18:30:54 -07:00
arahja 4322a2280e
Updated sendgrid binding to add the option to add names for the to an… (#1751)
* Updated sendgrid binding to add the option to add names for the to and from addresses. This commit relates to #1749

Signed-off-by: Adam Rahja <adam@resolve.com>

* Updated sendgrid binding from code suggestion.

Signed-off-by: Adam Rahja <adam@resolve.com>
2022-06-07 09:20:45 -07:00
Pravin Pushkar 3f85dd6702
adding query api to the feature list (#1775)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-07 08:38:02 -07:00
Alessandro (Ale) Segala 157ddc6d6b
Bumped dapr/dapr in cert tests (#1773)
* Bumped dapr/dapr in cert tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updated interface

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added missing go.mod

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* More fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fix eventhubs not closing on context cancelation

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-07 08:24:15 -07:00
Alessandro (Ale) Segala 704f4dd730
Add contexts to pubsub.Subscribe to allow early cancelation (#1756)
This commit is related to dapr/dapr#4624. As noted there, we have an issue in the runtime where all components are shut down after the grace period, when the app is likely already stopped. Because of that, certain input components (the subscribe part of pubsub and the input part of bindings - the latter not in scope of this PR), can continue bringing new work when it's known to fail.

In order to fix the issue linked above properly, we need to implement a way for PubSub components to have the "publish" part closed before the "subscribe" one (and in the future that will need to be done for input bindings too).

This commit achieves precisely that by adding a context in the Subscribe method. When that context is canceled (which can be at any time), the subscription is removed.

PS: This API change was implemented so it can one day be used for dapr/dapr#814 too, as it allows canceling individual subscriptions by using a different context. Although that's not possible today because it requires more work on the runtime, it does implement everything that's needed in the pubsub components already.
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-02 15:06:36 -07:00
Alessandro (Ale) Segala 7c35a4e04c
Added test for multiple pubsub handlers (#1743)
* Added test for multiple pubsub handlers

This patch adds conformance tests for PubSub with multiple handlers, each listening on a different topic.

It's meant to catch issues such as #1709

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Added missing go.mod for storagequeues binding test

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-06-02 10:22:15 -07:00
Alessandro (Ale) Segala 6c7ff60c9e
Fixes for SNS/SQS PubSub (#1754)
* Fixes for SNS/SQS PubSub

Including:

- Fixed adding multiple handlers for different topics (tests in #1743 are now passing)
- Fixed delivering wrong message when concurrency mode is parallel
- Avoid having multiple pollers at the same time competing for messages

& more smaller fixes

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fixed tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
2022-06-01 15:49:51 -07:00
Alessandro (Ale) Segala ca9fbf690e
Fixed Kafka PubSub to allow multiple handlers for different topics (#1755)
* Fixed Kafka PubSub to allow multiple handlers for different topics

With this, tests from #1743 are passing

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Removed read lock (for now)

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Updated as requested by @skyao

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Use interface type everywhere

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

* Fixed panic

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
2022-06-01 15:31:11 -07:00
Laurence a323748d75
Feat: Add apache dubbo output binding (#1768)
* feat: support apache/dubbo

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: comments

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: gofumpt test file

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* feat: dubbo cert test

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

* fix: add missiing header

Signed-off-by: LaurenceLiZhixin <382673304@qq.com>

Co-authored-by: Loong Dai <long.dai@intel.com>
2022-06-01 10:38:29 -07:00
Sky Ao e2aced1169
Add certification test for kafka bindings component (#1758)
* add certification test for kafka binding, the first version is copied from kafka pubsub to verify github flow

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* only run kafka pubsub and binding cert test in development

* fix typo

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* run only kafka bindings

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* add certification test for kafka binding: with and without retry

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* add config.yaml file back for kafka binding certification test

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* rollback to run all cert test before PR

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* update dependencies for kafka pubsub certification test

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* update dependencies for kafka pubsub certification test(again)

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>

* add network interruption test back

Signed-off-by: Sky Ao <aoxiaojian@gmail.com>
2022-05-31 17:15:37 -07:00
Loong Dai d38957ae5e
Merge pull request #1760 from yaron2/natsparallel-1
NATS Streaming: Add parallel processing, fix retry bug
2022-05-31 11:33:40 +08:00
yaron2 05922117c6 add parallel test
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-05-27 09:52:39 -07:00
yaron2 8066c64284 Merge branch 'natsparallel-1' of github.com:yaron2/components-contrib-1 into natsparallel-1 2022-05-26 11:58:05 -07:00
yaron2 64c4dc206c linter
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-05-26 11:57:57 -07:00
Yaron Schneider 0d26824967
Merge branch 'master' into natsparallel-1 2022-05-26 11:49:58 -07:00
yaron2 ca36ecc556 add parllel processing, fix retry bug
Signed-off-by: yaron2 <schneider.yaron@live.com>
2022-05-26 11:44:56 -07:00
Shubham Sharma d03aeba3e0
Upgrade rocketmq version (#1740)
* Upgrade rocketmq

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Trigger Build

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2022-05-26 09:24:29 -07:00
amulyavarote 5c410fb726
Added certification tests for Azure Storage Queue Bindings (#1736)
* Added certification tests for Azure Storage Queue Bindings

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changes based on the review comments

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Added ttl test case to fetch the unexpired messages

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
2022-05-25 17:26:17 -07:00
Alessandro (Ale) Segala 3a2a27a253
Better handling of concurrency in MQTT (#1748)
This helps avoiding issues when multiple subscribers are added in a short period of time

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-05-24 10:25:35 -07:00
Alessandro (Ale) Segala d55ce1dfdb
Fix: route messages to the correct publisher (#1737)
Fixes #1735
Includes:
- Adding a lock in `Subscribe` to prevent concurrency issues with multiple reconnections at the same time
- Increase default timeout from 3 to 30 seconds
- Avoid logging full message body in debug logs
- `connect` supports a context

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2022-05-24 07:49:08 -07:00