Thanks to visit codestin.com
Credit goes to github.com

Skip to content

📝 Add external link to blog post about Kafka, FastAPI, and Ably#4044

Merged
tiangolo merged 2 commits into
fastapi:masterfrom
Ugbot:patch-1
May 10, 2022
Merged

📝 Add external link to blog post about Kafka, FastAPI, and Ably#4044
tiangolo merged 2 commits into
fastapi:masterfrom
Ugbot:patch-1

Conversation

@Ugbot

@Ugbot Ugbot commented Oct 13, 2021

Copy link
Copy Markdown
Contributor

added my blog to the list of links, its about using FastAPI with Kafka and ably

added my blog to the list of links, its about using FastAPI with Kafka and ably

@ArcLightSlavik ArcLightSlavik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change name of PR to: Added article about ticket booking with FastAPI and Kafka
Comments below are nitpicks, seems like a good article.

class Conference(BaseModel):
    eventId: str
    eventCapacity: int
    eventDate: int
    bookingStart: int
    bookingEnd: int
    timestamp: int
    pass

remove the 'pass'

@app.post('/inbound-conferences')
async def conference_creation(data: Conference, request: Request):
    try:
        conference_producer.produce(conference_topic, None, data.dict())
        conference_producer.poll(0)
        conference_producer.flush()
        print(data.dict())
    except Exception as e:
        print(e)
        return 400
   return 200

request isn't being used

@tiangolo tiangolo changed the title added my blog to the list of external links 📝 Add external link to blog post about Kafka, FastAPI, and Ably May 10, 2022
@tiangolo tiangolo enabled auto-merge (squash) May 10, 2022 01:19
@tiangolo

Copy link
Copy Markdown
Member

Cool, thanks!

@codecov

codecov Bot commented May 10, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4044 (6f323d7) into master (fa1ffa5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4044   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          531       531           
  Lines        13629     13629           
=========================================
  Hits         13629     13629           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa1ffa5...6f323d7. Read the comment docs.

@tiangolo tiangolo merged commit 8f90e51 into fastapi:master May 10, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants