From commits-return-94040-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Thu Aug 5 08:48:07 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id EB3FE18062B for ; Thu, 5 Aug 2021 10:48:06 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 5FD2B608E2 for ; Thu, 5 Aug 2021 08:48:06 +0000 (UTC) Received: (qmail 98526 invoked by uid 500); 5 Aug 2021 08:48:05 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 98517 invoked by uid 99); 5 Aug 2021 08:48:05 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2021 08:48:05 +0000 From: =?utf-8?q?GitBox?= To: commits@pulsar.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bpulsar=5D_leizhiyuan_commented_on_issue_=2311502?= =?utf-8?q?=3A_REST_API_Create_topic_returns_a_204_instead_of_409_for_duplic?= =?utf-8?q?ate_topics?= Message-ID: <162815328555.16310.9256118281618698042.asfpy@gitbox.apache.org> Date: Thu, 05 Aug 2021 08:48:05 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: leizhiyuan commented on issue #11502: URL: https://github.com/apache/pulsar/issues/11502#issuecomment-893282282 ``` (base) ➜ apache-pulsar-2.8.0 ./bin/pulsar-admin topics create-partitioned-topic -p 1 persistent://public/default/test-duplicate (base) ➜ apache-pulsar-2.8.0 ./bin/pulsar-admin topics create-partitioned-topic -p 1 persistent://public/default/test-duplicate 16:46:47.759 [AsyncHttpClient-7-1] WARN org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/test-duplicate/partitions] Failed to perform http put request: javax.ws.rs.ClientErrorException: HTTP 409 Conflict This topic already exists Reason: This topic already exists ``` partitioned topic is ok. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org