lint error when define rate_limit_resources
and use it
#3072
-
# data_pipeline/business/ydevops.yml
rate_limit_resources:
- label: ydevops_limit
local:
count: 20
interval: 1s
input:
label: ydevops_input
git:
repository: https://github.com/xxxxxx/ydevops.git
branch: main
cache_dir: /opt/ysdb_worker/data/cache/ydevops
pattern: >-
**.cdx.json
processors:
- rate_limit:
resource: ydevops_limit got a lint error: |
Beta Was this translation helpful? Give feedback.
Answered by
mihaitodor
Dec 13, 2024
Replies: 1 comment 1 reply
-
Hey @fearfate I guess you're running in Streams Mode, in which case you need to put |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fearfate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @fearfate I guess you're running in Streams Mode, in which case you need to put
rate_limit_resources
in a separate yaml file and load it using the--resources
flag. Seeredpada-connect streams --help
.