{"id":53252,"library":"twmb-franz-go-pkg-kmsg","title":"Franz Go Kmsg","description":"Package kmsg contains Kafka request and response types with autogenerated serialization and deserialization functions.","status":"active","version":"1.9.0","language":"go","source_language":null,"source_url":"https://github.com/twmb/franz-go","tags":["kafka","protocol","serialization","messaging"],"install":[{"cmd":"go get github.com/twmb/franz-go/pkg/kmsg","lang":"bash","label":"Install github.com/twmb/franz-go/pkg/kmsg"}],"dependencies":[],"imports":[{"symbol":"kmsg","correct":"github.com/twmb/franz-go/pkg/kmsg"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/twmb/franz-go/pkg/kmsg\"\n)\n\nfunc main() {\n\treq := kmsg.NewMetadataRequest()\n\tfmt.Printf(\"Request: %+v\\n\", req)\n}","lang":"go","description":"Creates a new Metadata request using the kmsg package."},"warnings":[{"fix":"Always use New functions or Default functions after creating structs, or pin the max supported version.","message":"Major version bumps may occur on Kafka protocol changes, potentially breaking field types.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'autogener':13 'contain':6 'deseri':16 'franz':1 'function':17 'go':2 'kafka':7,18 'kmsg':3,5 'messag':21 'packag':4 'protocol':19 'request':8 'respons':10 'serial':14,20 'type':11","created_at":"2026-06-15T07:33:25.736669+00:00","updated_at":"2026-06-15T07:33:25.736669+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/twmb/franz-go","github":"https://github.com/twmb/franz-go","docs":"https://pkg.go.dev/github.com/twmb/franz-go/pkg/kmsg#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["messaging","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}