Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7739811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:36:54+00:00 2026-06-01T08:36:54+00:00

In Google App Engine documentation for Channel API, it is stated that Only one

  • 0

In Google App Engine documentation for Channel API, it is stated that “Only one client at a time can connect to a channel using a given Client ID”.

In contradiction, when I try to create a channel with the same Client ID, a new channel is consumed. In other words, when I call creat channel api for ClientID “user_one” channelService.createChannel("user_one"); for ten times, 10 different channels with 10 different token strings would be created, and when I send a message to “user_one” channelService.sendMessage(new ChannelMessage("user_one", message));, all of the ten clients on different devices, would receive the message!

How would you describe this scenario ? How one can benefit from this mechanism (one clientID with different channel, all receiving same message)? how to prevent it from creating multiple channel for single user ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:36:55+00:00Added an answer on June 1, 2026 at 8:36 am

    The documentation is not complete but it describes its intent pretty well. It says:

    Only one client at a time can connect to a channel using a given Client ID, so an application cannot use a Client ID for fan-out. In other words, it’s not possible to create a central Client ID for connections to multiple clients (For example, you can’t create a Client ID for something like a “global-high-scores” channel and use it to broadcast to multiple game clients.)

    It’s up to you to keep track of the of the number of channels you create for each ClientID. From my experience, what you describe works, but not reliably. The newest channel created with the ClientID works, the older ones, sometimes work, sometimes don’t receive messages.

    Note that if you’re trying this out on the dev_appserver, all the clients receive messages, but on the real server this behavior is not the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Google App Engine to query the data store with Python, one can use
How can i send Chat invitation over GTalk using Google App Engine(Python), i was
I'm using Google App Engine and Django templates. I have a table that I
I'm using the low-level API in Google App Engine for Java and want to
Google App Engine's documentation states that memcache calls will count towards a quota. Yet,
The Google App Engine documentation says that the URL to access a specific version
Reading the Google App Engine documentation on asynchronous URL Fetch: The app can have
I'm reading the documentation for Google App Engine and stumbled upon something that I
In this example, the Google App Engine documentation makes the Customer the entity group
Google App Engine is a cloud computing architecture that supports java based web services

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.