diff --git a/provider/indexer-gcp/docs/anthos/README.md b/provider/indexer-gcp/docs/anthos/README.md index fdbeeba8f4790558cb78627a08fdf98484c04218..324e84255a74acadf343d578abe243a51834e79e 100644 --- a/provider/indexer-gcp/docs/anthos/README.md +++ b/provider/indexer-gcp/docs/anthos/README.md @@ -188,33 +188,15 @@ curl -L -X PATCH 'https://dev.osdu.club/api/partition/v1/partitions/opendes' -H #### Exchanges and queues configuration -At RabbitMq should be created exchanges and queues with names: +RabbitMq should have exchanges and queues with names and configs: -**Exchange name:** `indexing-progress` +| EXCHANGE NAME | EXCHANGE CONFIG | Target queue name | Target queue config | +|-------------------|-------------------------------------|----------------------------|----------------------------------------------------------------------| +| indexing-progress | `Type fanout` <br/>`durable: true` | (Consumer not implemented) | (Consumer not implemented) | +| records-changed | `Type fanout` <br/>`durable: true` | indexer-records-changed | `x-delivery-limit: 5`<br/>`x-queue-type: quorum`<br/>`durable: true` | +| reprocess | `Type fanout` <br/>`durable: true` | indexer-reprocess | `x-delivery-limit: 5`<br/>`x-queue-type: quorum`<br/>`durable: true` | +| schema-changed | `Type fanout` <br/>`durable: true` | indexer-schema-changed | `x-delivery-limit: 5`<br/>`x-queue-type: quorum`<br/>`durable: true` | -**Exchange config** -`Type fanout` -`durable: true` - -**Target queue name** `indexer-records-changed` - -**Target queue config** -`x-delivery-limit: 5` -`x-queue-type: quorum` -`durable: true` - -**Exchange name:** `reprocess` - -**Exchange config** -`Type fanout` -`durable: true` - -**Target queue name** `indexer-reprocess` - -**Target queue config** -`x-delivery-limit: 5` -`x-queue-type: quorum` -`durable: true` ## Keycloak configuration @@ -257,9 +239,9 @@ You will need to have the following environment variables defined. **Entitlements configuration for integration accounts** -| INTEGRATION_TESTER | NO_DATA_ACCESS_TESTER | -| --- | --- | -| users<br/>users.datalake.ops<br/>service.storage.creator<br/>service.entitlements.user<br/>service.search.user<br/>service.search.admin<br/>data.test1<br/>data.integration.test<br/>users@{tenant1}@{domain}.com | +| INTEGRATION_TESTER | NO_DATA_ACCESS_TESTER | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------| +| users<br/>users.datalake.ops<br/>service.storage.creator<br/>service.entitlements.user<br/>service.search.user<br/>service.search.admin<br/>data.test1<br/>data.integration.test<br/>users@{tenant1}@{domain}.com | | Execute following command to build code and run all the integration tests: diff --git a/provider/indexer-gcp/docs/gcp/README.md b/provider/indexer-gcp/docs/gcp/README.md index 5155b44defb39ecc82083efe4f82e54a6e1e57e0..6cbeb52ec1190610a728eeafd618c24348d05313 100644 --- a/provider/indexer-gcp/docs/gcp/README.md +++ b/provider/indexer-gcp/docs/gcp/README.md @@ -43,17 +43,15 @@ Usage of spring profiles is preferred. ## Pubsub configuration: -At Pubsub should be created topics and subscribers with names: +Pubsub should have topics and subscribers with names and configs: -**Topic name:** `indexing-progress` +| TOPIC NAME | Subscription name | Subscription config | +|-------------------|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| indexing-progress | (Consumer not implemented) | (Consumer not implemented) | +| records-changed | indexer-records-changed | `Maximum delivery attempts: 5`<br/>`Retry policy: Retry after exponential backoff delay`<br/>`Minimum backoff duration: 10 seconds`<br/>`Maximum backoff duration: 600 seconds` | +| reprocess | indexer-reprocess | `Maximum delivery attempts: 5`<br/>`Retry policy: Retry after exponential backoff delay`<br/>`Minimum backoff duration: 10 seconds`<br/>`Maximum backoff duration: 600 seconds` | +| schema-changed | indexer-schema-changed | `Maximum delivery attempts: 5`<br/>`Retry policy: Retry after exponential backoff delay`<br/>`Minimum backoff duration: 10 seconds`<br/>`Maximum backoff duration: 600 seconds` | -**Topic name:** `records-changed` - -**Subscriber name** `indexer-records-changed` - -**Topic name:** `reprocess` - -**Subscriber name** `indexer-reprocess` ### Properties set in Partition service: