Customizing response content
vijayt00 opened this issue · 0 comments
vijayt00 commented
Is it possible to modify/customize response content? Suppose we have setup kafka rest proxy to receive data from external service and we don't want to reveal sensitive info like in which partition and offset data got stored. We just want to respond saying record processed/received (OR not processed).
E.g. Current success response:
200: {
"offsets": [
{
"partition": 1,
"offset": 1,
"error_code": null,
"error": null
}
],
"key_schema_id": null,
"value_schema_id": null
}
Can above response be customized or intercepted to below one?
200: {
"success": "Record received/processed successfully"
}