Skip to content

harikautilya/django-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process to start

  1. Start server using
python manage.py runserver
  1. Open second terminal
python manage.py process_queue --queues search.fifo

Requests

curl --location --request POST 'http://127.0.0.1:8000/search/'
--header 'Content-Type: application/json'
--data-raw '{ "words":["sample","12"] }'

Modification

  1. Edit eb_sqs/aws/sqs_queue_client.py replace
import json
id = json.loads(msg)["id"]
queue.send_message(
    MessageBody=msg,
    DelaySeconds=delay,
    MessageGroupId="sample",1
    MessageDeduplicationId=id
)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages