You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
server.post('/data', (req, reply) => {
server.kafka.push({
topic: 'test',
payload: req.body,
key: 'dataKey',
})
})
it throws the following erorr
"
Property 'kafka' does not exist on type 'FastifyInstance<Server, IncomingMessage, ServerResponse, Logger<{ level: string; }>, FastifyTypeProviderDefault> & PromiseLike<...>'.ts(2339)
"
Anyone else facing similar problem?
The text was updated successfully, but these errors were encountered:
Prerequisites
Issue
Property 'kafka' does not exist on type 'FastifyInstance<Server, IncomingMessage, ServerResponse, Logger<{ level: string; }>, FastifyTypeProviderDefault> & PromiseLike<...>'.ts(2339)
"
Anyone else facing similar problem?
The text was updated successfully, but these errors were encountered: