Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
Comments
📝 Add external link to blog post about Kafka, FastAPI, and Ably#4044
📝 Add external link to blog post about Kafka, FastAPI, and Ably#4044tiangolo merged 2 commits intofastapi:masterfrom
Conversation
added my blog to the list of links, its about using FastAPI with Kafka and ably
ArcLightSlavik left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
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 passremove 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 200request isn't being used
tiangolo commentedMay 10, 2022
Cool, thanks! |
codecovbot commentedMay 10, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ 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.
|
…api#4044)Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
added my blog to the list of links, its about using FastAPI with Kafka and ably