Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Is there a function in the broker to "delete" a topic
  • From: Andrew Thomas <andrew.thomas@xxxxxxxxxxx>
  • Date: Fri, 5 Apr 2024 11:12:15 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=skkynet.com; dmarc=pass action=none header.from=skkynet.com; dkim=pass header.d=skkynet.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/3z67dpiH5Cp2rgYxY/G/3bFBwehmjEsOe3scYoarbQ=; b=FtM7D8C5r6JnOnsYDxuq+bCZfbHY+kzoySvopixcpC/ZNWeP2G2MYhwF1Y6MOoRoyUwF/wAWOaMr3CBx+SJINYll6z5GDAvZTZCrI+m9rfEDOJR56qCHvSRcYlzRMdf0oXNCLAzukjMEcN7uGLni905BjEpoy7CgYxIiQAqfLkvdTpElzMVgBz3mt0UOvHchXkvY4il343N7L19QXy+nJVjtJuK9Y2+55eHErTBPSm3ZRVNyyQYdnlJAthzvtiiLpRGbQkWPPj3s4an8nhy3CHKKDBUIrBFXP8sWsr+Mi/NcT+UKz436yh87D+23Q+CRTEEmXjqS+5lyt0OWkqZQSw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NcX74Umze5hxp9EA7MciMBWFtiYAJhhc+Rk3I1So27k9IUFLyhQEYD9hiHR9zLAAQmoMdrABicak75G2drip5EW+Xz2OXAaw1dIZzZ6hZ++XSZV8QaTFz/bRMuGlwEZoRTdhoZKDobcQhAW53Km3hhxeKLnmLDMKa8W7eOkyJqkXicik5zx1eQLCvIvdsFfAHtcI5Suwwxi56lZ3MbXRIUtOhcMFN815fMy1yDzz3W1gSO/TW59qyytK4Pnxk29o/zD/otbhFfzVk+9madm7udKz8pAbE6WF0Mf/VzCXKz9Knu87gNRwyLPgcufnspPnqwGdMZ2hwZVYSZDFJicRNA==
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev/>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdqHR66S0gVUSyKzTlOo+ZkiZpn7tA==
  • Thread-topic: Is there a function in the broker to "delete" a topic

Hello all,

 

I am customizing the mosquitto broker, and I would like to be able to “delete” a topic.  As I understand it, that really just means removing retained messages for that topic.  I realize that the topic will re-appear if a client sends a new message to it, but this would still be very useful for my application.

 

Are there functions in the broker code that:

  • Remove the retained message for a topic, and
  • Remove the retained messages for a topic and all its descendants?

 

Thanks,

                Andrew

 


Back to the top