admin管理员组文章数量:1289352
I'm trying to set up microcks-uber to help with our integration testing locally. I've set up the containers, using VSCode devcontainers like so:
microcks:
image: quay.io/microcks/microcks-uber:1.10.0-native
ports:
- "9090:8080"
environment:
- TEST_CALLBACK_URL=http://microcks:8080
# - ASYNC_MINION_URL=http://microcks-async-minion:8081
volumes:
- "./application.properties:/deployments/config/application.properties"
I'm also using kcat, to try to intertact with the topics: kcat -b microcks:8080 -t PetstoreAsynchronousAPI-1.0.0-receiveNewPetCreateEvent
Using the tutorial schema:
asyncapi: 3.0.0
info:
title: Pets API
version: 1.0.0
description: |-
Petstore API
defaultContentType: application/json
components:
messages:
pet:
payload:
$ref: '#/components/schemas/Pet'
examples:
- name: Zaza
payload:
id: 1
name: Zaza
- name: Tigress
payload:
id: 2
name: Tigress
schemas:
Pet:
type: object
properties:
id:
format: int64
type: integer
name:
type: string
required:
- id
- name
channels:
newPetCreated:
address: new-pet
messages:
newPetCreated:
$ref: '#/components/messages/pet'
operations:
receiveNewPetCreateEvent:
action: receive
channel:
$ref: '#/channels/newPetCreated'
messages:
- $ref: '#/channels/newPetCreated/messages/newPetCreated'
Everytime I try to run the kcat commands, an error is returned Receive failed: Invalid response size 1213486160 (0..100000000): increase receive.message.max.bytes
I've tried adding a application.properties
file containing receive.message.max.bytes=200000000
mounted at deployments/config
as the docs seem to suggest, but this doesn't resolve things.
Are we able to adjust this value in the uber distribution?
本文标签: apache kafkamicrocks Invalid response sizeStack Overflow
版权声明:本文标题:apache kafka - microcks Invalid response size - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741476556a2380919.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论