Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFR-2192: Adding ingest limit for MUSE process #388

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

kylevillegas93
Copy link
Contributor

Description

  • Adds ingest limit for MUSE process
  • Adds log statement to log number of records ingested

Testing

python main.py -p MUSEProcess -e local -i complete -l 10
{"timestamp":1727980094227,"message":"Staring Process MUSEProcess in local","log.level":"INFO","logger.name":"__main__","thread.id":140704513854976,"thread.name":"MainThread","process.id":49202,"process.name":"MainProcess","file.name":"/Users/kylejacksonvillegas/workspace/drb-etl-pipeline-venv/drb-etl-pipeline/main.py","line.number":32,"entity.type":"SERVICE"}
{"timestamp":1727980119005,"message":"Ingested 10 MUSE records","log.level":"INFO","logger.name":"processes.muse","thread.id":140704513854976,"thread.name":"MainThread","process.id":49202,"process.name":"MainProcess","file.name":"/Users/kylejacksonvillegas/workspace/drb-etl-pipeline-venv/drb-etl-pipeline/processes/muse.py","line.number":49,"entity.type":"SERVICE"}

Copy link
Contributor

@mitri-slory mitri-slory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch to add this ingest limit.

@kylevillegas93 kylevillegas93 merged commit 89eef18 into main Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants