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

Check by resource_id #25

Merged
merged 4 commits into from
Sep 20, 2022
Merged

Check by resource_id #25

merged 4 commits into from
Sep 20, 2022

Conversation

sixtedemaupeou
Copy link
Contributor

@sixtedemaupeou sixtedemaupeou commented Aug 29, 2022

Instead of checking if the status has changed for the same URL we check for the same resource_id, so as to send a Kafka message whenever the resource availability has changed, regardless whether the URL was checked before for a different resource.

Fix #19.

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

I have a small comment on exceptions, but except (:p) for this I'm good

udata_hydra/crawl.py Outdated Show resolved Hide resolved
@sixtedemaupeou sixtedemaupeou merged commit 317e96f into main Sep 20, 2022
@sixtedemaupeou sixtedemaupeou deleted the check-by-resourceid branch September 20, 2022 07:45
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.

Envoyer un message kafka de check même si url déjà visitée pour une autre ressource
3 participants