Skip to content

In broadcast mode, the instance name is too long and the message cannot be consumed. #417

@heihaozi

Description

@heihaozi

BUG REPORT

  1. Please describe the issue you observed:

Use broadcast mode to consume, consumers will save offset information locally.

When creating the local offset file, the file path defaults to :

/${user.home}/.rocketmq_offset/${consumer client id}/${consumer group name}/offsets.json

The consumer client id defaults to :

${client IP}@${instance name}@${unit name}

Because the instance name is too long, the offset file creation fails, the message cannot be consumed.

  1. Please tell us about your environment:

rocketmq-spring 2.1.1

  1. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions