Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

jstorm ShellSpout 用默认的JsonSerializer有bug #365

Open
@yunfan123

Description

@yunfan123

在用ShellSpout的时候,因为AckSpout 和 ShellSpout 是不同的线程,但是他们都是从线程的stdout里面去读消息,导致读到的消息错乱。这一块如果是作为ShellSpout 的JsonSerializer在 readString 这个方法需要加锁。当然我不知道这个加锁之后对于其他的地方是否有性能相关的影响。

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