IBM Event Streams and IBM Event Automation

 View Only
Expand all | Collapse all

Naming Standards for Event Streams

  • 1.  Naming Standards for Event Streams

    Posted Tue September 27, 2022 04:25 AM
    Hi,
    I am looking for some reference material particularly around naming standards for Event Stream / Kafka.
    What are the best practices around naming of Topics, Subscriptions etc etc? 

    Any help would be great as we are planning to build our first Event Streams cluster in the next few days. Would like to get the names correct from the beginning too.

    The IBM Event Stream material around best practices, security and building of an cluster are great.

    Thanks in advance.

    ------------------------------
    Rosh
    ------------------------------


  • 2.  RE: Naming Standards for Event Streams

    User Group Leader
    Posted Thu October 13, 2022 09:33 AM

    Hello Rosh, 

    I wanted to pass along what one of our software engineers had to say about this: 

    "Event Streams does not have any best practices around naming. Usually the naming should be based on the business objectives and within a max length of 256, But there are few restrictions on Kafka Topic creation like,
    max length is 255 symbols and can only use letters, . (dot), _ (underscore), - (minus).The validation that happens when you are creating resources will make sure that if the name is invalid then the resource won't be createdFor Ref:
    https://stackoverflow.com/questions/37062904/what-are-apache-kafka-topic-name-limitations"

    Let me know if this helps!



    ------------------------------
    Gabriel Marte Blanco
    Austin TX
    ------------------------------