Skip to content

Commit

Permalink
Merge pull request #23 from p-fedyukovich/feature/use-attributes
Browse files Browse the repository at this point in the history
feat: new parameter useAttributes
  • Loading branch information
p-fedyukovich authored Apr 17, 2023
2 parents b9bf93f + 17946fa commit 2dbf198
Show file tree
Hide file tree
Showing 12 changed files with 1,837 additions and 2,105 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ module.exports = {
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ The `options` property is specific to the chosen transporter. The <strong>GCloud
<td><code>checkExistence</code></td>
<td>If <code>false</code>, topics and subscriptions will not be checked, only used. This only applies when <code>init</code> is <code>false</code></td>
</tr>
<tr>
<td><code>useAttributes</code></td>
<td>Only applicable for client. If <code>true</code>, <code>pattern</code> and <code>correlationId</code> will be sent via message attributes. This is useful if message consumer is not NestJs microservice or you have message filtering on subscription</td>
</tr>
<tr>
<td><code>client</code></td>
<td>Additional client options (read more <a href="https://googleapis.dev/nodejs/pubsub/latest/global.html#ClientConfig" rel="nofollow" target="_blank">here</a>)</td>
Expand Down
Loading

0 comments on commit 2dbf198

Please sign in to comment.